Hi,
Please remember to be careful with your script.... make sure it is
coded so that you don't kill one of the database processes because they
might be above your specified kill limit..... then you'd be in real
trouble....
Norma Jean
-----Original Message-----
From: nikunjkumar
[mailto:oracledba-ezmlmshield-x73858550.[Email address protected]
Sent: Wednesday, August 30, 2006 2:12 AM
To: LazyDBA Discussion
Subject: Re: Kill process taking more than 50% of resources
HI,
You can use top command and monitor %CPU %MEM TIME+ of your process
it
in your shell script . When it goes beyond your specified limit , kill
the
process taking the PID.
with thanks,
Nikunj Purohit
"AbubakarA" <oracledba-ezmlmshield-x11792869.[Email address protected]
08/30/2006 12:38 PM
To
"LazyDBA Discussion" <[Email address protected]
cc
Subject
Kill process taking more than 50% of resources
Hi ,
I need to write one shell script to kill any process which is taking
more
then 50% of CPU resource for more then 15 minutes in red hat Linux
Can any body help me on this ,please ............:-):-):-)
regds,
Abubakar Alhajri
8/30/2006 11:14:25 AM
Disclaimer
________________________________________________________________________
____
This e-mail message and any attachments are for the sole use of the
intended recipient(s) and may contain confidential and proprietary
information. Any unauthorized use, disclosure or distribution is
prohibited
---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
ForwardSourceID:NT00009966
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
============================================================
The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs
============================================================
Oracle LazyDBA home page