Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Auto Suspend Account for High Resource Utilization

Discussion in 'General Discussion' started by myBox, Oct 21, 2006.

  1. myBox

    myBox Active Member

    Joined:
    Jan 6, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    156
    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
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice