How to get a listing of running daemons / processes
Can any one suggest a method of getting a list of running daemons or processes?
either in CLI or in X-Windows/Gnome |
ps aux
|
Cool,
so I can then kill <PID> and that will stop the process or daemon with that PID ? |
ya,
kill -9 <pid> will work regards |
run
apropos kill you will get many man pages for "kill" with many different options regards |
One thing to note is that kill without the -9 is softer and allows a program to come down in a cleaner manner allowing treads to come down and complete their units of work. The kill -9 basically takes down the process in a brute force fasion and is grate when an application is hung and not responding to the OS in any way but, you may cause data corruption if the process was in the middle of a long running unit of work. It really depends on the process function as to which method to use.
-Krontab |
Also if you want to be lazy and not find the PID, you can do "killall [name of process]"
|
All times are GMT -5. The time now is 04:55 AM. |