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  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

By anup

Leave a Reply

Your email address will not be published. Required fields are marked *