oracle进程如下
[root@oracle11g ~]# ps -elf | grep oracle
5 S avahi 1908 1 0 80 0 - 6945 poll_s 19:06 ? 00:00:00 avahi-daemon: registering [oracle11g.local]
4 S root 3362 3263 0 80 0 - 40357 wait 19:13 pts/1 00:00:00 su - oracle
4 S oracle 3363 3362 0 80 0 - 27073 wait 19:13 pts/1 00:00:00 -bash
4 S root 9480 3411 0 80 0 - 40357 wait 19:42 pts/2 00:00:00 su - oracle
4 S oracle 9481 9480 0 80 0 - 27073 wait 19:42 pts/2 00:00:00 -bash
0 S oracle 9600 1 0 80 0 - 53779 poll_s 19:42 ? 00:00:00 /u01/oracle/product/bin/tnslsnr LISTENER -inherit
0 S oracle 10405 1 0 80 0 - 456088 poll_s 19:49 ? 00:00:00 ora_pmon_orcl
0 S oracle 10407 1 0 80 0 - 455516 semtim 19:49 ? 00:00:00 ora_psp0_orcl
0 S oracle 10410 1 2 58 - - 455516 hrtime 19:49 ? 00:00:55 ora_vktm_orcl
0 S oracle 10414 1 0 80 0 - 455516 semtim 19:49 ? 00:00:00 ora_gen0_orcl
0 S oracle 10416 1 0 80 0 - 455516 semtim 19:49 ? 00:00:00 ora_diag_orcl
0 S oracle 10418 1 0 80 0 - 455650 semtim 19:49 ? 00:00:00 ora_dbrm_orcl
0 S oracle 10420 1 0 80 0 - 455900 semtim 19:49 ? 00:00:02 ora_dia0_orcl
0 S oracle 10422 1 0 80 0 - 455516 semtim 19:49 ? 00:00:00 ora_mman_orcl
0 S oracle 10424 1 0 80 0 - 457403 semtim 19:49 ? 00:00:00 ora_dbw0_orcl
0 S oracle 10426 1 0 80 0 - 459404 semtim 19:49 ? 00:00:01 ora_lgwr_orcl
0 S oracle 10428 1 0 80 0 - 455516 semtim 19:49 ? 00:00:01 ora_ckpt_orcl
0 S oracle 10430 1 0 80 0 - 457195 semtim 19:49 ? 00:00:00 ora_smon_orcl
0 S oracle 10432 1 0 80 0 - 455645 semtim 19:49 ? 00:00:00 ora_reco_orcl
0 S oracle 10434 1 0 80 0 - 457015 semtim 19:49 ? 00:00:01 ora_mmon_orcl
0 S oracle 10436 1 0 80 0 - 455824 semtim 19:49 ? 00:00:01 ora_mmnl_orcl
0 S oracle 10438 1 0 80 0 - 456025 poll_s 19:49 ? 00:00:00 ora_d000_orcl
0 S oracle 10440 1 0 80 0 - 455815 poll_s 19:49 ? 00:00:00 ora_s000_orcl
0 S oracle 10485 1 0 80 0 - 455516 semtim 19:49 ? 00:00:00 ora_qmnc_orcl
0 S oracle 10524 1 0 80 0 - 457196 semtim 19:49 ? 00:00:01 ora_cjq0_orcl
0 S oracle 10586 1 0 80 0 - 455516 semtim 19:49 ? 00:00:00 ora_smco_orcl
0 S oracle 10607 1 0 80 0 - 456913 semtim 19:49 ? 00:00:00 ora_q000_orcl
0 S oracle 10609 1 0 80 0 - 455653 semtim 19:49 ? 00:00:00 ora_q001_orcl
0 S oracle 12536 1 0 80 0 - 208781 futex_ 19:52 pts/2 00:00:06 /u01/oracle/product/bin/emagent
0 S oracle 12555 1 0 80 0 - 459892 sk_wai 19:52 ? 00:00:15 oracleorcl (LOCAL=NO)
0 S oracle 12595 1 0 80 0 - 457508 semtim 19:52 ? 00:00:02 oracleorcl (LOCAL=NO)
0 S oracle 13698 1 0 80 0 - 455652 semtim 19:54 ? 00:00:00 ora_w001_orcl
0 S oracle 13957 3363 0 80 0 - 17268 n_tty_ 19:58 pts/1 00:00:00 sqlplus
0 S root 15745 15712 0 80 0 - 25810 pipe_w 20:22 pts/3 00:00:00 grep oracle
杀死所有Oralce进程:
[root@oracle11g ~]#ps -elf | grep oracle | awk '{print $4}' | xargs kill -9
可以查看刚才执行的命令
[root@oracle11g ~]# cat ~/.bash_history
或者
[root@oracle11g ~]#for pid in $(ps -ef|grep xxx)
do
kill -9 $pid
done
阅读(2712) | 评论(0) | 转发(0) |