How to check cPanel CPU and Memory usage for a specific user

cPanel root and default page display issues
March 27, 2020
MySQL Workbench
Install and Configure MySQL Workbench on Ubuntu Linux
March 28, 2020

How to check cPanel CPU and Memory usage for a specific user

One of client is asking for CPU and memory usage for particular use. To check that we have to run below command on the server.

Login to the server via SSH.

/usr/local/cpanel/bin/dcpumonview | sed -e 's/<[^>]*>/ /g' | grep username

Run below command.

For example:

/]# /usr/local/cpanel/bin/dcpumonview | sed -e 's/<[^>]*>/ /g' | grep support

It will display output like below

support server.com  0.36  0.06  0.0
    Top Process  %CPU 3.0  php-fpm: pool server_com
    Top Process  %CPU 2.0  php-fpm: pool server_com
    Top Process  %CPU 0.6  php-fpm: pool server_com
    server_server    0.00  0.00  0.0

Comments are closed.

%d bloggers like this: