In this post i will share on how ot kill the procees on linux fedora 16 server. This post assumed you already installed Fedora 16 and you try to install mysql using yum command. However, you has accidemtly canceled it without proper command. Therefore you are require to kill the procees. Follow this step to kill the process.
Check the process id :
[root@fedora16 ~]# ps -ef | grep yum root 1715 1167 2 17:21 pts/0 00:00:01 /usr/bin/python /usr/bin/yum install mysql root 1723 1167 0 17:21 pts/0 00:00:00 grep --color=auto yum
You may find manual for kill command as below :
[root@fedora16 ~]# man kill
NAME kill - terminate a process SYNOPSIS kill [-s signal|-p] [-q sigval] [-a] [--] pid... kill -l [signal]
As an example, kill process id 1715 :
[root@fedora16 ~]# kill -9 1715
Verify the process whether it’s killed or still running :
[root@fedora16 ~]# ps -ef | grep yum root 1726 1167 0 17:22 pts/0 00:00:00 grep --color=auto yum [4]- Killed yum install mysql