LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 06-14-2005, 07:41 AM   #1
tuxfood
Member
 
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


hi...


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

eg:
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

tuxfood
 
Old 06-15-2005, 11:47 PM   #2
macemoneta
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: 327Reputation: 327Reputation: 327Reputation: 327
Since you are running an rpm-based distribution, you can ask rpm the answer to your question. For example:

Code:
rpm -q --whatrequires sysklogd

initscripts-7.93.7-1
vixie-cron-4.1-33_FC3
 
  


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


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