Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-19-2009, 12:31 PM   #1
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, 01:01 PM   #2
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
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, 02:13 PM   #3
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 956
Blog Entries: 14

Rep: Reputation: 135Reputation: 135
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 02:15 PM.
Old 02-20-2009, 05:52 AM   #4
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,062

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
When I take into account another recent question of yours
I find that this smells like homework, to me.


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

All times are GMT -5. The time now is 01:37 AM.

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