Latest LQ Deal: Latest LQ Deals
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 05-30-2005, 12:35 AM   #1
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 35
List services

Im using Debian and I dont know how to do to list all the services that are running...

when I used Fedora it was more simple, like redhat-service-config (something like that) I have search on debian and didnt find anything...

And after listing the services how can I stop or start a service?
How can I see what services are available in the system?

Old 05-30-2005, 12:56 AM   #2
Registered: May 2004
Location: Texas
Posts: 277

Rep: Reputation: 30
I have used Fedora 3, RH 9 and RH 7.1 and the command to list all processes was just "ps" (without the qoutes).

Now to stop or start a service... for me it has always been "service servicename restart". However, for Debian I do not know. Try using "path to service restart".

If you want to do it the easy way, you might just want to install webmin (

Hope I helped...
Old 05-30-2005, 01:47 AM   #3
Senior Member
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
the services are located in /etc/init.d/

so if you want to stop a service then type :
/etc/init.d/servicename stop

if you want to permanently stop it then either type :
chmod -x /etc/init.d/ntpdate

or download a program called sysv-rc-conf
apt-get install sysv-rc-conf
sysv-rc-conf and uncheck the serrvice
Old 05-30-2005, 03:53 AM   #4
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
If you want to see all the processes running at a certain time, you may use 'ps aux' or 'ps -ALL'. If, instead, you're interested only in the daemons running, use 'netstat -nutap' to see which service is listening on what port and to which address is it binded at the moment.
Then, you may either tweak the /etc/inetd.conf file and/or use the 'update-rc.d' command to add/remove init scritps.


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
need a list of 'modern' OS services for desktop and server SciYro General 3 11-07-2005 10:36 AM
Quickly view a list of active services vharishankar Linux - General 19 04-02-2005 09:23 AM
How do I get a list of services running on my computer? imsam Linux - Newbie 4 10-27-2004 12:59 AM
List of System Services and their descriptions demerson3 Linux - Newbie 1 09-12-2004 02:27 AM
add service to "system services list"? frieza Linux - Software 2 05-05-2004 11:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:29 AM.

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
Open Source Consulting | Domain Registration