Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Oct 2005
    Posts
    13

    Default "CPU/Memory/MySQL Usage" WHM section has no stats

    We running a few cPanel-based hosts, and for two of them "CPU/Memory/MySQL Usage " (which is very handy) at WHM are empty. It lists set of users (mysql, mailnull, set of usernames that used by suexec to start php fcgi process), but both "%CPU" and "%MEM" fields are zeroes.

    I found that those two servers had not sysstat package installed (which contains sar and iostat commands) while it was installed on others. I thought maybe cpanel uses sar/iostat to collect stats. But after I installed it and restarted cpanel service, nothing changes.

    Please advice.

    (Also english is not my native, I`m from Russia, so If my language is broken -- sorry.)

  2. #2
    Member
    Join Date
    Oct 2004
    Posts
    18

    Default

    restart crond

  3. #3
    Member
    Join Date
    Oct 2005
    Posts
    13

    Default

    Thanks namzy, I should have done "rpm -ql sysstat", it put files into /etc/cron.d...

  4. #4
    Member
    Join Date
    Oct 2005
    Posts
    13

    Default

    I figured it out. It has nothing to do with sysstat.

    Stats are being generated by dcpumon utility (see "sudo crontab -u root -l") and seems that it uses ps, top and mysql to gather stats. Some of our tech changed the PATH variable at root crontab, so dcpumon was unable to find mysql/ps/top. After setting PATH="/bin:/sbin:/usr/bin:/usr/sbin" it works again.

  5. #5
    Member
    Join Date
    Nov 2003
    Posts
    332

    Default

    I have the same problem with 1 server
    "CPU/Memory/MySQL Usage" WHM section has no stats

    Other server, with same Cpanel release is ok

    I have try to restart crond but nothing change

    Current usage is Ok

    Any solution ?

    Tx
    --

  6. #6
    Member cPanelKevin's Avatar
    Join Date
    Jan 2008
    Posts
    47

    Default

    You can manually run dcpumon to generate the CPU usage stats.

    /usr/local/cpanel/bin/dcpumon

    And make sure the dcpumon cronjob exists in crontab to run every 5 minutes.

Similar Threads & Tags
Similar threads

  1. High memory usage in "Daily Process Log"
    By labahost in forum Optimization
    Replies: 0
    Last Post: 12-16-2009, 11:02 AM
  2. Mysql, "Operation Not Supported" Endless loop and 100% CPU usage
    By cam94z28 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-19-2008, 12:07 PM
  3. Show Current CPU Usage -- Every Process "No Longer Exists"
    By xWho in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-19-2006, 03:27 PM
  4. HELP~ "CPU/Memory/MySQL Usage" is BLANK!
    By goodgbb in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-10-2006, 09:23 AM
  5. php (phpmyadmin?) process from user "cpanel" memory usage
    By Rubas in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-24-2004, 07:48 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube