
Originally Posted by
everactive
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.
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