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

There are a few ways to do this and I will explain some of them for you below. cPanel has a "built in" way to view this but I will give you a way to specify the amount of days you want the stats for and a few other neat tricks.


cPanel Resource Usage Stats

To view cPanel’s stats you can run this command via SSH:

This will show all processes, users, etc.

Get cPanel Resource Stats for X Days

If you want to get the stats for a user for say the past 5 days or so, run this command in SSH:

Courtesy of https://sites.google.com/site/pleskylinuxcom/bash-scripting

If you want to just monitor a specific user and not access the logs you can do so with these commands:

Monitor specific user using TOP

Monitor all users using TOP

Alternately you can use htop instead of top if you have it installed.

Myles

Orlando, FL

Did this post help you?

Give back and rate it for me!

Related Posts

  • Ryan

    Cheers helped a lot.