My website host provider uses WHM ( Web Host Manager ) to manage multiple websites that are CPanel-based. WHM is a very good tool to monitor website performance, you can use it to check CPU, ram, and disk space usage percentage, it can also monitor and manage server processes. It is an all-in-one platform for a webmaster to monitor and diagnosis website performance issues. This article will tell you how to use it to check web server status and find the most CPU or memory cost server process.
1. Check Website Server Status.
- Login to WHM, click Server Status —> Service Status menu item at left navigation menu list.
- Then you can see your server status summary on the right side, the summary includes running services list, server load score, memory used, disk space used, etc. If one status is red, that means there are some errors for that status. For example, in below picture the server load status is red, it means my server CPU cost so much.
- To fix the server load issue, you can click Server Status —> Daily Process Log menu item at the left to display today’s process summary info. From the daily process log, you can see which user and process cost most CPU usage today, then you can fix the issue accordingly.
- Click Server Status —> Task Queue Monitor menu to see the tasks in the queue. I see the below task in the queue, the command for this task is ensure_fpm_on_boot.
- The Server Status —> Apache Status menu item will display HTTP request records.
- The Server Status —> Server Information menu will display detailed server CPU, memory disk information in number.
2. Check Server Process Status.
- If there is high CPU cost, memory used process in Server Status —> Daily Process Log, next step we can go to WHM —> System Health menu list to get more process-related information.
- Click System Health —> Process Manager menu item, it will list all the process which are running currently. You can click the column with title
CPU %
to order the process by CPU usage percentage. Then you can get the most CPU cost processes that are currently running. - You can click the column with title
Memory %
to order processes by memory usage percentage, then you can know which process uses the most memory. - Click System Health —> Show Current Disk Usage menu item will list used and free disk percentage.
- Click System Health —> Show Current Running Processes menu, it will list all currently running process id, name, execute file, and trigger command.