LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 09-21-2004, 09:07 PM   #1
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
howto identify what services are running via CLI?


top reports everything that is running, but i only want to see what exact services are running on a server so i know what to restart instead of rebooting the entire server.

i know that httpd = web server, but that is the only service i know by name in linux. M$ made me dumb. in that i just point and click the GUI, but the Whitebox 3 server i had someone help me setup is pure CLI, and i plan to keep it that way.

we use qmail and it seems to drop clients randomly and i need to restart that service, but i constantly get unknow service when i try:

service smtp restart
service smtpd restart
service qmail-smtp restart
service qmail-smtpd restart

so i just shutdown -r now and in less then 30secs everything is fine again, but id much rather learn how to identify the services that are running so i can deal with them properly.

thanks for the help.
 
Old 09-21-2004, 09:08 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
try top command.
 
Old 09-21-2004, 09:12 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 9,915

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
The following command will show the services configured in the /etc/rc[0-6]. See man pages for additional info.
chkconfig --list

If scrolling to fast then use:
chkconfig --list | more
 
Old 09-21-2004, 11:44 PM   #4
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
thanks.

read up. top is not giving me the info i need.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO Check, Start and Stop Services GNewbie MEPIS 6 10-30-2010 08:10 AM
How do I add/remove/manage services from the CLI? neocookie Fedora 3 11-24-2005 10:01 AM
Howto Boot to CLI w/ Debian Sarge 3.1 renato167 Debian 3 10-25-2005 02:42 AM
What command can identify processes running on ports? hello321_1999 Linux - Newbie 2 11-23-2004 05:01 AM
what services should i have running? jamesgf Linux - General 3 04-18-2003 02:24 PM


All times are GMT -5. The time now is 11:29 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration