Learn WHM

The Web Host Manager will allow you to control your VPS/DS services via your Internet Browser!

• Last Updated: 02/11/2020
• ( 7 minutes reading )

How to manage the Processes of your server in WHM


In order for us to explain the WHM control panel features related to the Process Management of your server, we need to make sure you understand what a process is. Basically, you can picture it as being а program or script in action which contains instructions in the form of a code that is read and then executed. Each instruction can be considered as a simple task that the process executes. This script is then displayed as a process that will run until it finishes all of the tasks defined in its code. 

Usually, in order for you to see this process, you would need to use the SSH protocol so you can connect to the server and then type a specific command that will list the process. Luckily the WHM control panel offers two functionalities that hold a list of the processes running on the server along with all their associated data. You may use these tools to browse the processes, trace them and even kill them if necessary. Let’s get right into it!


Accessing the Show Current Running Process feature

First, you need to log into the WHM service for your VPS or Dedicated Server. If you are not sure how to do that, please check our How to Access WHM tutorial. After you have logged in, please navigate to the search bar on the left side of the page and type “Show Current Running Process”.


Find the Current Processes List


When the functionality shows up below the search bar, please click on it so you can be sent to the “Show Current Running Process” page. 


Receive information from the Process List

On the next page, you will notice a table view containing all the currently running processes. When you land on this page, you may feel overwhelmed at first, as the list is quite long. However, you should not worry, as there is a way you can sort it to easily find what you need. In order for you to get a better understanding, we will go through all of the columns and explain what they mean.


Explanation of the processes list table



  • Pid - This is short for “Process ID”. When a process is spawned, the system will assign a unique identification number to it. By using the Pid column you will be able to obtain the unique id of each process.
  • Name - This column will contain the name of the running process.
  • File - Displays the absolute path to the file of the application or daemon that started the process. 
  • Current Directory - Shows the directory in which the process is running. Usually, this is the root (/) directory.
  • Command Line - Most programs are started by executing a file (Imagine this as clicking on an icon on your Windows Desktop - a very clear example of that would be either Skype or Viber). Gives information about the command, file, or directory which started it.

As mentioned earlier the table gives you the option to sort data based on the above parameters. All you need to do is click the bolded text on top of the column depending on what you want to view.

For instance, if you are running a PHP-based application - it will be spawning PHP processes shown under the “Command Line” column. If you would like them to appear closer to the top of the table, please click on the “Command Line” bolded text.


Sort the processes based on their command


This will make it so it is arranged alphabetically from the last letter in the English alphabet “z” to the first “a”. “p” is much closer to “z”, thus appearing closer to the top of the column, allowing you to easily locate what you are looking for. 


Accessing the Process Manager feature

Please go to the search bar on the left side of the screen and type “Process Manager”.


Access the process manager


When the functionality shows up below the search bar, please click on it so you can be sent to the “Process Manager” page.


Using the Process Manager in WHM

On the top of the screen, right below the “Process Manager” heading, you will see a text “Kill all processes by user:”, a dropdown menu on its right side, and a button labeled “Kill user’s processes”.


Kill all processes by user


Sometimes, a single program can spawn a lot of processes - either because it is being used too much or there is something wrong with it. Instead of having to go through the entire list and kill each process individually, WHM gives you the option to kill the process based on the user who spawned them. An example would be if you have noticed that the incoming email service is being stalled and has spawned a lot of dovecot processes. Click on the dropdown menu and then find the “dovecot” user. 


Example of killing all dovecot processes


After you have selected it, please click on the “Kill user’s process” button. This will redirect you to a new page, stating that all processes owned by the user in question have been killed. You will also be presented with a blue  “Back” link, allowing you to go back to the previous screen.


Read output Back link


Underneath, you will find a similar table section to the first functionality, however, this time there are certain columns that were not present earlier. Let’s go through them.

  • Owner - This displays the user or system account that started the process.
  • Priority - You can picture this as a queue that starts from -20 and goes up to 19. The system will execute the process with the lowest number first.
  • CPU % - Shows the percentage of the server’s processing power which the process is utilizing.
  • Memory % - Displays the percentage of the server’s memory which the process is using.


Additional parameters in the table of processes


Under the “Pid” column, you will notice the blue clickable links “Trace” and “Kill”. The “Kill” link will terminate the individual process. Again, we will use one of the “dovecot” processes as an example.


Kill individual processes


Once the “Kill” link is pressed, you will be redirected to a page containing information about the process that had been just killed. You will also see a blue “Back” link that brings you back to the previous page if you want to continue with your process killing spree!


Result from killing a single process


The last functionality we are going to discuss on this page is “Trace” which is located under the “Pid” column, preceding the “Kill” functionality.


Tracing a process in the process manager


Each individual process may be traced and this gives output in real-time what is happening during its execution. In this example, we will be tracing the “mysqld”.


Output from the trace process option

We won’t cover how to read the output, as it a really complex task and you need to have a great understanding of how the service itself works and which part of the output you can use in order to troubleshoot, control, or manage the process.


Here you go! This guide covers two very handy features in the WHM control panel which you may use to track your processes or the users who are spawning them. We hope that our explanations were thorough enough and you are now able to use these tools to their full extent. As always, our Technical Team is 24/7 available at your disposal and if you have any questions or doubts, feel free to contact them over the ticketing system in your Client Area.



Content Marketing Specialist

Sebahat is a young and bright woman who has become an invaluable part of our team. She started as a Customer Care Representative, mastering that role and, along the way, growing into a tech-savvy individual who is well acquainted with every support layer of the company. Driven by her aim to improve our customers’ experience constantly, she is committed to enhancing the extraordinary support we deliver.