Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Kill Oracle Hung Process

649606Jul 15 2008 — edited Jul 17 2008
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2008
Added on Jul 15 2008
6 comments
4,092 views