Re: xinetd or inetd --Which is running?????????


Subject: Re: xinetd or inetd --Which is running?????????
From: Jamin "W." Collins (jcollins@asgardsrealm.net)
Date: Thu Jun 21 2001 - 15:49:21 MDT


On 21 Jun 2001 16:07:19 -0500, Larry Blodgett wrote:
> Which is running on YDL 2.0? How do I determine which is running?

There are various different methods, but since YDL is based on RH, check
"/etc/rc.d/init.d". This directory contains various script files that
are commonly referred to as services. Any of these service scripts can
normally be executed with a parameter of "status". So, the answer to
your question is two fold. One find which of these two are in this
directory (most likely xinetd). Two, execute the one you find with a
status parameter (e.g. "./xinetd status" from within said directory).
You should get a message indicating whether or not the service is
running.

Another method (there's always more than one way to do things, gotta
love it), is running the program "ps" with the optional parameters "ax".
Together this will list most everything running on your system. Then
you can scroll through the output and look for one or the other.

Yet another way is to pipe the output of "ps ax" through the grep
command to do the searching for you. Such as, "ps ax | grep inetd".
This will return all lines containing the pattern "inetd" since both
"xinetd" and "inetd" contain this pattern either will be found and you
will see which is running.

Take care.

Jamin W. Collins



This archive was generated by hypermail 2a24 : Thu Jun 21 2001 - 14:53:15 MDT