LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-27-2009, 10:40 AM   #1
kbarani
Member
 
Registered: Dec 2008
Posts: 41

Rep: Reputation: 15
How to get list of services status in linux


Hi all,
How to get the list of services status in the linux machine. if i give #service --status-all in command prompt it's telling the list of services status in that linux machine , but i want implement the same functionality though program , please tell me how to go about this, which file i have to parse , how to parse etc..,

Thanks,
Barani
 
Old 03-27-2009, 11:33 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
man ps

www.makelinux.net

or

Take a look at the source code of system-config-services in Fedora
 
Old 03-28-2009, 12:31 AM   #3
kbarani
Member
 
Registered: Dec 2008
Posts: 41

Original Poster
Rep: Reputation: 15
need system-config-services sounce

Hi
Please send me the source download link for the system-config-services , i searched in web but i am not able to find the source.

Thanks
Barani
 
Old 03-28-2009, 01:36 AM   #4
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
I think this is what you're looking for...

http://git.fedorahosted.org/git/?p=s...;f=src;hb=HEAD

http://git.fedorahosted.org/git/?p=s...gui.py;hb=HEAD
 
  


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
LXer: Comprehensive Linux System Services List: Explanation and Recommendation LXer Syndicated Linux News 0 12-17-2007 05:10 AM
Backup services status & custom kernel chessonly Linux - General 0 08-30-2006 01:19 PM
Default status(and runlevel) of services chessonly Ubuntu 0 11-18-2005 06:15 PM
Debian boot with the status of the services... hrz999 Debian 0 08-26-2005 01:16 PM


All times are GMT -5. The time now is 09:42 AM.

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