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!

Hourly CPU and Memory usage record

Discussion in 'General Discussion' started by kk.hk1850, Jun 1, 2018.

  1. kk.hk1850

    kk.hk1850 Registered

    Joined:
    Jun 1, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Hong Kong
    cPanel Access Level:
    Website Owner
    Hi! I just rent a VPS and new to cPanel. Where can I look at the hourly CPU and Memory usage record in cPanel?

    The reason for doing so is the VPS keeping down during midnight (when the traffic is the highest). I want to check if it is a problem of CPU usage or Memory usage.

    I have looked around in cPanel and WHM but not able to find such hourly record.

    Any suggestion is much appreciated. Thanks.
     
  2. dstana

    dstana Well-Known Member

    Joined:
    Jul 6, 2016
    Messages:
    48
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Phoenix, AZ
    cPanel Access Level:
    Root Administrator
    It's a lot easier to SSH into your server use

    Code:
    sar
    This shows CPU load, iowait, and other useful metrics. For memory usage:
    Code:
    sar -r
    This has more info if you need it.
    sar(1) - Linux man page

    I think the default is 10 minute intervals. Then you can see what the load has been like, it logs it as well so you can look at previous days by referencing a previous file. I think it hangs onto 30 days of sar data.

    For the sar data from the 16th of the month:
    Code:
    sar -f /var/log/sa/sa16
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,855
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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