How to Kill Process in Linux

Step by step process to kill Process in Linux 

1) Login as root

2) In order to kill the process, normally we need a process id number (PID) for that particular process.

3) To view the pid , for example yum process :

[root@amitmaheshwari.in]# ps aux | grep yum

4) It will display all yum process that currently running in the system.

5) The second column from left is the PID number for the process

6) Then to kill the process, for example if yum PID number is 1577

[root@amitmaheshwari.in]# kill 1577

or to force kill

[root@amitmaheshwari.in]# kill -9 1577

7) Finish :)