At 11:10 AM 6/19/98 -0500, webmaster wrote:
>First of all, can you ping the IP of the webserver?  If you can, the next
thing to 
>do is to see if your httpd daemon is running.  Do a
>       ps -ax |grep httpd
>If httpd is currently running, you will see a list of httpd pids.  The
smallest PID 
>is the parent.  If you don't see any, it means that you do not have the
httpd 
>running.

That is NOT... NOT always correct. Very frequently the pid of the "main"
process may be higher than the pids of the child processes. This will
happen on systems that have lots of activity where pid's rollover the max
value and began anew at the bottom end of the scale.

A better way is to do "ps -auxwf | grep httpd", which will list them
according to "parent-child" relationships, with child processes being
indented from their parents. The one at the top of the indented list will
be the parent.

D


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to