Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 06-14-2005, 06:41 AM   #1
Registered: Aug 2003
Location: kerala , India
Distribution: RH9 , FC1 ,
Posts: 141

Rep: Reputation: 15
To find which all services depend on a particular service... a method ..plz comment


Inorder to find which all service depend on a given service ,, i did the following

To find which all services depend on the service syslogd.

I first located the binaries of each of the services in the /etc/rc.d/init.d directory

and then ran the following command

$ strings <full path to binary> | grep syslog

If the command came up with a result which had syslog or vsyslog in it..

I assumed it depends on service syslogd


Any comments on this method

Old 06-15-2005, 10:47 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Since you are running an rpm-based distribution, you can ask rpm the answer to your question. For example:

rpm -q --whatrequires sysklogd



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
Restart services - 'service' command not found davee Linux - Newbie 9 03-16-2013 12:34 AM
Linux services which service starts when ReBeL24 Fedora 4 05-24-2005 08:37 AM
A program which exists only after all its children have exited.. plz comment tuxfood Programming 1 05-08-2005 03:59 PM
need method to find out the bandwidth alvi2 Linux - Networking 2 02-23-2005 04:32 PM
/etc/services --> Can I comment a bunch of these sevices out ForumKid Linux - Security 1 12-27-2001 02:36 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:14 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