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 -athis 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 ps3. To terminate the process with the specified PID use the following command
kill PIDname4. Or by removing the corresponding PID inside the /var/run/ folder
rm -R /var/run/process_name.pidexample
rm -R /var/run/yum.pidthe command above will terminate the yum process.
Hopefully this article is helpful
image by http://www.brianjones.ca
0 comments:
Post a Comment