Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How will check the httpd service status from rehdat ?

user-image
Question added by Muhammad Anzar , DevOps/DevSecOps Architect , Confidential
Date Posted: 2015/02/07
Deleted user
by Deleted user

assuming that httpd is the process/service name.

 

then do as a root:

 

netstat -nap | grep -i httpd

 

or change httpd with the name of the process/service that is running.

Amr Mohamed Abdo Eissa
by Amr Mohamed Abdo Eissa , Senior AIX System Engineer , Data & Transaction Services

you can use

# service httpd status

and

# netstat -nulp | grep -i80   to if it is running

 

Hesham Allam
by Hesham Allam , Technical Manager, Business Automation , Advansys-ESC

many ways you can do that based on the Apache version and RHEL version you use so please let me know your version but for now you can use 

service httpd status

More Questions Like This