查看所有oracle进程的PID:
#ps -ef|grep ora
[oracle@db ~]$ ps -ef|grep ora
root 23544 23514 0 11:25 pts/3 00:00:00 su - oracle
oracle 23545 23544 0 11:25 pts/3 00:00:00 -bash
oracle 23589 1 0 11:33 ? 00:00:02 /DBSoftware/app/oracle/product/10.2.0/db_1/bin/tnslsnr LISTENER -inherit
oracle 26793 1 0 11:35 ? 00:00:00 ora_pmon_PORTAL
oracle 26795 1 0 11:35 ? 00:00:00 ora_psp0_PORTAL
oracle 26797 1 0 11:35 ? 00:00:00 ora_mman_PORTAL
oracle 26801 1 0 11:35 ? 00:00:00 ora_dbw0_PORTAL
oracle 26803 1 0 11:35 ? 00:00:00 ora_lgwr_PORTAL
oracle 26805 1 0 11:35 ? 00:00:00 ora_ckpt_PORTAL
oracle 26807 1 0 11:35 ? 00:00:00 ora_smon_PORTAL
oracle 26809 1 0 11:35 ? 00:00:00 ora_reco_PORTAL
oracle 26811 1 0 11:35 ? 00:00:00 ora_cjq0_PORTAL
oracle 26813 1 0 11:35 ? 00:00:03 ora_mmon_PORTAL
oracle 26815 1 0 11:35 ? 00:00:00 ora_mmnl_PORTAL
例如红色标明这两个就表示该进程的进程ID(PID)
结束进程 kill -9 PID
例如:kill -9 26807