Check if Apache is Running from Command Line

Last modified: 
Thursday, April 14th, 2016

A method to check from the command line if Apache httpd is running.

/etc/init.d/httpd status

Apache is up and running

httpd (pid  30596) is running...

Oh no, Apache is dead

httpd dead but subsys locked

The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.