Pages

How to terminate a process in Fedora 14


Here's how to turn off a process that are running on Fedora Linux 14, to another distros or less the same, if there is a difference please adjusted.

1. Open the terminal and log in as root.
2. To view the running process use.
ps -a
this is the example of the running process.
 PID  TTY      TIME CMD
2557 pts/0    00:00:02 ping
2583 pts/1    00:00:00 su
2586 pts/1    00:00:00 bash
12342 pts/1    00:00:00 ps
3. To terminate the process with the specified PID use the following command
kill PIDname
4. Or by removing the corresponding PID inside the /var/run/ folder
rm -R /var/run/process_name.pid
example
rm -R /var/run/yum.pid
the command above will terminate the yum process.


Hopefully this article is helpful

0 comments:

Post a Comment