How to kill all oracle processes in Linux ?

For Single Instance

$ps -ef|grep "ora_"|grep -v grep|grep $ORACLE_SID|awk '{print $2}'|xargs kill -9

For all instances

$ps -ef|grep "ora_"|grep -v grep|awk '{print $2}'|xargs -i kill -9 {}

No comments:

Post a Comment