LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-05-2010, 03:51 AM   #1
joshua777
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Rep: Reputation: 0
Talking how do i know what services are running on my linux server?


i have a server which i dont know what was installed on it, it was sent for me to find out.
 
Old 07-05-2010, 03:53 AM   #2
joshua777
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Original Poster
Rep: Reputation: 0
it has a CentOS 5.4 OS.
 
Old 07-05-2010, 04:03 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
The command
Code:
service --status-all
might be a good starting point. It runs all init script in /etc/init.d with the status argument.
 
Old 07-06-2010, 04:25 AM   #4
joshua777
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Original Poster
Rep: Reputation: 0
thank you very much for the reply it helps me much now.
 
Old 07-06-2010, 04:30 AM   #5
bsurendar
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
You can also use ps -ef command.
 
Old 07-06-2010, 09:04 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
You may find this useful http://linux.die.net/man/8/chkconfig
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
command to check which services are running on linux Linuxfan0001 Linux - Kernel 1 04-11-2008 08:42 AM
How do I setup a mail, proxy and file server running the listed services? ichauya Linux - Newbie 1 02-08-2008 01:15 PM
How to prune a print & file server to leave minimal services running wolfpeach Linux - Security 4 06-29-2004 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration