LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-02-2005, 04:48 AM   #16
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440
Blog Entries: 1

Rep: Reputation: 30

hi hari....
I will tell u in short
If u wnat to know the list of services configured , just type the following command in ur terminal.

chkconfig --list

This will list u with the list.

Hope my answer is helpful .
Another thing if u wnat to activate any service, type

ntsysv

This command will open a window where u can activate the services needed.we have to use space bar here for selection. nothing else will work
 
Old 04-02-2005, 08:11 AM   #17
runlevel0
Member
 
Registered: Mar 2005
Location: Hilversum/Holland
Distribution: Debian GNU/Linux 5.0 (“Lenny”)
Posts: 290

Rep: Reputation: 31
Re: Quickly view a list of active services

Quote:
Originally posted by Harishankar
Is there any program or command line tool that will let me view a list of running services (daemons) on Linux?
ls /etc/rc5.d

Services are set in the different /etc/rcN.d directories as symlinks beginning with S for started services and K for killed ones. Which rc.d directory is being used depends on your distro's runlevel configuration. Normally running services should be those linked in /etc/rcboot.d minus those marked K inside the actual runlevel's rcN.d directory plus those started within the current runlevel.

There are easier ways of gettng this list, one of them is:

nmap -sT localhost (to watch deamons and ports available thru 127.0.0.1) and of course sysvinit, which has a GUI.

Some distro's also ship with a native GUI interface included in their system apps. Dunno what FC has, but I can remember such an app exists.




Last edited by runlevel0; 04-02-2005 at 08:43 AM.
 
Old 04-02-2005, 09:07 AM   #18
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Quote:
Originally posted by sailu_mvn
hi hari....
I will tell u in short
If u wnat to know the list of services configured , just type the following command in ur terminal.

chkconfig --list

This will list u with the list.

Hope my answer is helpful .
Another thing if u wnat to activate any service, type

ntsysv

This command will open a window where u can activate the services needed.we have to use space bar here for selection. nothing else will work
Those commands are RedHat/Fedora specific sailu_mvn. They will not work on Debian or Gentoo.


runlevel0, thanks. I'll check those out! By the way, I don't use Fedora or RedHat. I have Debian and Gentoo installed

Last edited by vharishankar; 04-02-2005 at 09:09 AM.
 
Old 04-02-2005, 09:17 AM   #19
runlevel0
Member
 
Registered: Mar 2005
Location: Hilversum/Holland
Distribution: Debian GNU/Linux 5.0 (“Lenny”)
Posts: 290

Rep: Reputation: 31
Quote:
Originally posted by Harishankar
Those commands are RedHat/Fedora specific sailu_mvn. They will not work on Debian or Gentoo.

I have Debian and Gentoo installed
On gentoo you can get the stuff listed with
Code:
rc-status -a    (-a for all)
or

Code:
rc-status [boot/default/nonetwork/single]
there are also some useful flags and you can pipe the output thru grep or a script.
 
Old 04-02-2005, 09:23 AM   #20
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Aha! Thanks runlevel0!

That was just the command I was looking for in Gentoo.

Thanks.

In Debian I have webmin installed, so I can view and edit the daemons/services configuration from there, I guess.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
view runinig services juanb Linux - General 3 05-17-2006 12:36 PM
How can I view running services? ctroyp Fedora 8 10-19-2005 01:45 PM
Linux & Active Directory Services ? Pravat Linux - Networking 8 05-11-2005 12:56 PM
active device list hinetvenkat Linux - Enterprise 0 12-20-2004 03:44 PM
Postfix, Active Directory Services and Authentication weazy Linux - Software 1 04-28-2003 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:24 AM.

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