cPanel is a web hosting control panel which is rather popular. Unfortunately its also badly coded, hacked together by a bunch of shell scripts and balanced to work on a thin thread of pure luck. These days the cPanel developers seem to have made millions out of their product and retured to some exotic island...

So what is dcpumon? cPanel gives no documentation, their forums don't even know of its existance and google returns very few results about its data, stored under /var/log/dcpumon.

Apparently, dcpumon is a CPU/Memory accounting script which stores percentage values of CPU and Memory usage under /var/log/dcpumon.

The script itself is of no use, it just generates statistics at the above directory. What is interesting is that there is a script for reading all that data and displays your top CPU/Memory eaters! As a result, it can be very useful if you are trying to figure out what is eating your CPU.

So, without further ado, running the script: /usr/local/cpanel/bin/dcpumonview

# /usr/local/cpanel/bin/dcpumonview
|User    |Domain                         |CPU%|MEM%|MySQL#|
|mysql   |                               |1.50|0.10|0.0   |
| Top Process | 1.5 | /usr/sbin/mysqld
|root    |                               |0.17|0.60|2.0   |
| Top Process | 3.0 | /usr/bin/perl /scripts/cpbackup
| Top Process | 0.1 | spamd child
The script dcpumonview will print the user owner, then each top process. At the above example, there are two users, "mysql" and "root", each with their own top process.

If you are short on disk space, you may delete the data logs stored under /var/log/dcpumon, or even disable the script from your cron jobs (crontab -l, to list cron jobs, crontab -e, to edit them).