Kill Oracle Hung Process
649606Jul 15 2008 — edited Jul 17 2008Hi,
Linux OS
Ora10g DB
I have some processes in Orace Apps that is sometimes get hung and becomes a runaway (zombie).
I want to create a script that regularly cleans up the process using kill -9
and put it in a crontab to run it every hour on top of the hour.
The owner of the process is user "applmgr", so the script looks like this:
ps -ef|grep "applmgr"|awk (get the PID)| kill -9
I saw some script like this before but I forgot the exact syntax.
Can you help me please.
Thanks