How to Kill Procees on Fedora 16

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
       kill - terminate a process

       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
Leave a Reply

Your email address will not be published. Required fields are marked *

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.


* up to 30 days money back guarantee