Introduction
There may be times when you need to kill off a hung process. The following article can help you determine whether the process has truly hung:
How do I know if a process is running or working?
Procedure
You can quickly kill a process through the command line when you have identified the process:
- Access the server through SSH as the root user.
- Find the process ID of the process--for example, if you are looking for
rsync
processes:ps -elfwww | grep rsync
The output looks like this:
4 S root 3589 3586 0 97 17 - 40955 poll_s Sep08 ? 00:00:04 /usr/local/jetapps/usr/bin/rsync
The process ID is the fourth field from the left; in this example, it is 3589.
- Kill the process:
kill 3589
You may also use the WHM interface:
- Go to "Home / System Health / Process Manager."
- Find the process ID for the hung process in the first column on the left.
- Click on the "(Kill)" link to the right of the process ID.