Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-27-2005, 11:40 PM   #1
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
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
Old 08-27-2005, 11:45 PM   #2
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
ps aux
Old 08-27-2005, 11:54 PM   #3
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Original Poster
Rep: Reputation: 37

so I can then kill <PID> and that will stop the process or daemon with that PID ?
Old 08-28-2005, 12:15 AM   #4
Senior Member
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
kill -9 <pid> will work
Old 08-28-2005, 08:01 AM   #5
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58

apropos kill

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

Old 08-28-2005, 09:20 AM   #6
LQ Newbie
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
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.

Old 08-28-2005, 03:36 PM   #7
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Also if you want to be lazy and not find the PID, you can do "killall [name of process]"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two daemons running on the same port Quantum0726 Linux - Networking 4 08-15-2005 10:39 PM
command to see daemons running? kpachopoulos Linux - Newbie 3 09-13-2004 06:17 AM
Listing Processes oriel_gizmo Programming 6 08-20-2004 05:40 AM
Two Printer Daemons Running angelaramesys Linux - Software 0 07-15-2004 07:44 AM
Listing processes by memory usage? Seventh Linux - Newbie 3 06-17-2004 10:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration