URGENT need script for CPU utilization

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

URGENT need script for CPU utilization

shreven
I am new to production support on unix platform I need a script for the following requirement: to monitor CPU usage for all the time in a day on unix server.And it has to send mail if CPU hits 100% and the mail also contains which user,process occupying the maximum CPU usage.And if it contains the first 5 processes occupying the large CPU usage in addition it will be grateful.

Everything should be automatic action and in a single script.

Please help me...its emergency