LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-19-2009, 01:31 PM   #1
ak.lokesh
LQ Newbie
 
Registered: Dec 2008
Posts: 11

Rep: Reputation: 0
Issues related to services in Linux


Hi All,
How to find out a particular service running or not in Linux?

how to find out a list of all running servies in Linux???

Thanks in advance.
 
Old 02-19-2009, 02:01 PM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Top gives you a list of processes as well as other information, you'll need to output the results into a file to check every process tho.

A command I use often when I am after a specific process is "ps aux | grep <process name>". The only problem with that however is it will very likely also list grep itself as a process, so ignore the grep process as it will already be completed anyway.
 
Old 02-19-2009, 03:13 PM   #3
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 903
Blog Entries: 13

Rep: Reputation: 122Reputation: 122
Hi, if you mean daemons, find out which init system your distro uses (if you tell us what distro you use, some of us might know it, the rest can find it),but usually all the daemon startup files are either in /etc/init.d/ or /etc/rc.d/ and to see if its running, run "location of the scripts"/scriptname status. If you mean sevices of the desktop, go to the relevant sections of kde control center or gnome-services. If you mean processes, top is the way to go (htop is nicer though).

Last edited by serafean; 02-19-2009 at 03:15 PM.
 
Old 02-20-2009, 06:52 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
When I take into account another recent question of yours http://www.linuxquestions.org/questi...issues-705961/
I find that this smells like homework, to me.
 
  


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
mpif90 download on linux and related issues The_Watcher Linux - Software 0 02-14-2009 04:06 PM
FC10 nvidia troubles and other related issues bocochoco Fedora 6 12-15-2008 06:58 PM
Music related issues zeshon Linux - Software 1 02-06-2007 06:41 PM
Unresolved Keyboard Related Issues Woodsman Slackware 1 11-03-2005 12:02 AM
[NOT REALLY LINUX RELATED] How do i fix loopback issues? vbp6us Linux - General 3 04-20-2003 02:55 PM


All times are GMT -5. The time now is 04:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration