Web Hosting Talk







View Full Version : script that automatically terminates a process using more than 10% of cpu time


shars
01-26-2009, 05:03 PM
hi
is there a script that automatically kills a non-cPanel process (processes by clients/hosting accounts) if cpu usage reaches 10% or more?

blessen
01-26-2009, 08:55 PM
Check PRM ( Process Resource Monitor). Not sure if it meets all your requirement hence request you to go through their docs first.
Ref: http://www.webhostgear.com/85.html

Extreme43
01-27-2009, 02:02 AM
You want to be careful here, often scripts and other software will use as much of your cpu that is available to get a job done. Killing off random processes could cause you much grief.