Hi,

I want to know how get the info from WHM MySQL/CPU usage from the shell?

I am thinking of making a script for daily check and auto suspend sites utilizing more than a preset percentage like 10 % for example.

so any one knows how to grep the info from WHM or could it be done from the shell directly using sar or something?

thanks