LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to get a listing of running daemons / processes (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-a-listing-of-running-daemons-processes-357682/)

greengrocer 08-27-2005 11:40 PM

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

cs-cam 08-27-2005 11:45 PM

ps aux

greengrocer 08-27-2005 11:54 PM

Cool,

so I can then kill <PID> and that will stop the process or daemon with that PID ?

b0nd 08-28-2005 12:15 AM

ya,
kill -9 <pid> will work
regards

masand 08-28-2005 08:01 AM

run

apropos kill

you will get many man pages for "kill" with many different options

regards

Krontab 08-28-2005 09:20 AM

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

jrdioko 08-28-2005 03:36 PM

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.