How to kill process in Linux

Log in to your server as root and find the process PID your want to kill. You can do that by using ps command with aux options :

ps aux

 

This will display all process lists. For example:

root         373  0.0  0.1   8124  7604 ?        Ss   01:56   0:00 somecommand

 

Second number is the PID. You can kill the process using this PID using command below:

kill 373

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to check kernel version of your linux server

Type command below to check the version of your kernel :   uname -r   The system will return...

How to move and rename file in Linux

Moving a file on Linux   To move a file to another location we use the same method as renaming...