Processor Utilization Script

Taking care of your Linux box.
Post Reply
refra
Naik
Posts: 70
Joined: Wed Dec 06, 2006 3:51 pm

Processor Utilization Script

Post by refra »

SAR Utility is installed on my linux box.


02:40:01 PM CPU %user %nice %system %iowait %steal %idle
02:50:02 PM all 29.26 0.00 43.28 14.49 0.00 12.96
03:00:02 PM all 26.97 0.00 40.96 16.47 0.00 15.60
Average: all 17.89 0.00 37.47 5.33 0.00 39.31


I want if processor's idle time is below than 75 then system generate a alert on email address like abc@mycomany.com
Post Reply