(Optional) To kill a process belonging to another user, become superuser.
(Optional) Use output from the ps command to obtain the identification number of the process you want to display more information about.
$ ps -e | grep process |
process |
Name of the process you want to display more information about. |
The process identification number is in the first column of the output.
Use the kill command to stop the process.
$ kill [-9]PID ... |
-9 |
Ensures that the process terminates promptly. |
PID . . . |
ID of the process or processes to stop. |
Use the ps command to verify that the process has been stopped.
$ ps -ef | grep PID ... |