The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Todays CPU Usage

Discussion in 'General Discussion' started by Giannis, Oct 12, 2006.

  1. Giannis

    Giannis Well-Known Member

    Joined:
    Jun 22, 2005
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Hello all

    the last 2-3 days i am not able to see the stats from CPU/Memory/MySQL Usage option.
    When i click on it i see only :


    User Domain %CPU %MEM Mysql Processes

    no more details???

    Running
    WHM 10.8.0 cPanel 10.9.0-C34
    CentOS 4.4 i686 - WHM X v3.1.0

    Any help on this please?
    Thank you
    G.
     
  2. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    Try to check it from Shell

    Is your server restarted recently?
     
  3. Giannis

    Giannis Well-Known Member

    Joined:
    Jun 22, 2005
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Hi thnx for your reply

    Server yes is restarted recently
    How to check from shell with top command?
    It looks strange this one used to run OK and suexec is installed and enabled.
    Thank you
     
  4. Giannis

    Giannis Well-Known Member

    Joined:
    Jun 22, 2005
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Edit :

    OK thnx did it
    Nothing changed???
    Does it need some time to collect infos?
    Thank You
     
  5. Phenomenon

    Phenomenon Member

    Joined:
    Aug 21, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    Try restarting your crontab service:

    /etc/rc.d/ini.d/crond restart

    It should do the trick.

    EDIT: After that, try running /usr/local/cpanel/bin/dcpumon manually.
     
  6. Giannis

    Giannis Well-Known Member

    Joined:
    Jun 22, 2005
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    ....
    now worked OK
    Thank You very much
     
  7. Phenomenon

    Phenomenon Member

    Joined:
    Aug 21, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    You're welcome ;)
     
  8. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    Phenomenon is right - just restart the cron service will fix this. No need to restart the entire box ;)
     
  9. Giannis

    Giannis Well-Known Member

    Joined:
    Jun 22, 2005
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Hello again

    i am still having this problem?
    any suggestions please?

    Thank You
     
  10. Phenomenon

    Phenomenon Member

    Joined:
    Aug 21, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    huh, sorry for late reply... make sure that crontab service is in server startup list:

    chkconfig --list crond

    if it's not there, let me know, and I'll give you an add command...
     
  11. viooltje

    viooltje Well-Known Member

    Joined:
    Mar 14, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Todays CPU Usage shows nothing

    # chkconfig --list
    haldaemon 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    network 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    bandmin 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    rpcidmapd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    netfs 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    mdmonitor 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    xinetd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    rhnsd 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    diskdump 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    rawdevices 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    openibd 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    smartd 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    cpuspeed 0:eek:ff 1:eek:n 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    saslauthd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    acpid 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    ipaliases 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    mdmpd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    irqbalance 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    courier-imap 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    messagebus 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    microcode_ctl 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    portsentry 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    sshd 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    netdump 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    nfs 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    irda 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    chkservd 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    kudzu 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    httpd 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    exim 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    iptables 0:eek:ff 1:eek:ff 2:eek:n 3:eek:ff 4:eek:n 5:eek:n 6:eek:ff
    named 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    readahead 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:n 6:eek:ff
    filelimits 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    bluetooth 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    mysql 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    ipmi 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    auditd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    rpcgssd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    cpanel 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    nscd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    antirelayd 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    psacct 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    isdn 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    anacron 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    syslog 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    readahead_early 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:n 6:eek:ff
    courier-authlib 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    autofs 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    netplugd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    ntpd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:ff 5:eek:n 6:eek:ff
    apf 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    NetworkManager 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    tog-pegasus 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    vsftpd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    xinetd based services:
    echo: off
    klogin: off
    eklogin: off
    time: off
    chargen: off
    echo-udp: off
    chargen-udp: off
    cups-lpd: off
    gssftp: off
    krb5-telnet: off
    daytime: off
    rsync: off
    time-udp: off
    daytime-udp: off
    telnet: off
    kshell: off


    I have this only how to add the crontab or something?
    my pages always shows htis only?



    Todays CPU Usage
    Main >> Server Status >> CPU/Memory/MySQL Usage

    << 12-16-2006 12-17-2006 12-18-2006 >>
    Note: These figures are averages since 0000 hours today.
    Note: This script will not able to track cgi cpu/memory usage if you do not have suexec installed.
    Note: Percentages are based on one cpu. If you have 2 cpus divide the number in half to get the percentage of all cpu power used User Domain %CPU %MEM Mysql Processes


    Help please thnx!
    commands for a noob is very apreciated.
     
  12. Giannis78

    Giannis78 Member

    Joined:
    Aug 29, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    i solved this problem doing un update to the latest RELEASE build
    try it once
     
  13. viooltje

    viooltje Well-Known Member

    Joined:
    Mar 14, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    [~]# /etc/rc.d/ini.d/crond restart
    -bash: /etc/rc.d/ini.d/crond: No such file or directory


    HUH no file? what now?
     
  14. eNetHosts

    eNetHosts Well-Known Member

    Joined:
    Apr 21, 2007
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    16
    Wrong Command it is:

    /etc/rc.d/init.d/crond restart

    (You forgot a t after the ini :))
     
  15. viooltje

    viooltje Well-Known Member

    Joined:
    Mar 14, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    OMG noobs I really noobed myself this time.
    lol a typo.

    thnx allots!!



    Someone know how or where can I add these command to automaticly start next time I reboot the server?
     
    #15 viooltje, Jul 4, 2007
    Last edited: Jul 4, 2007
Loading...

Share This Page