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.

Getting the data of Daily Process Log

Discussion in 'cPanel Developers' started by everactive, Jan 10, 2010.

  1. everactive

    everactive Member

    Joined:
    Jan 10, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I would like to get the data from "Daily Process Log" page in WHM. Is there an API to access it?.. or any other way?

    Where it's exactly coming from?

    Your help would be greatly appreciated.
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    While not an API call, the same information may be accessed via command-line (SSH access) using the following script:
    Code:
    # /usr/local/cpanel/bin/dcpumonview
    The information is updated every 5 minutes by an entry in the root crontab, like the following:
    Code:
    # crontab -l -u root | grep dcpumon
    */5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
     
  3. everactive

    everactive Member

    Joined:
    Jan 10, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, I'll check that.
     
Loading...

Share This Page