Low Orbit Flux Logo 2 D

How to Check if Apache is Running

It is easy to check if Apache is running. We are going to show you how to do this on both Linux and on Windows.

How to Check if Apache is Running on Linux

Probably the easiest way to check if the Apache web server is running on Linux is to use the following command. This should work on most/all distros. The name will either be “httpd” or “apache”. This command should match either of those.


ps -ef | grep -i "httpd\|apache"

If you are running systemd and you want to check the status of the service you can run the following.

On Debian based systems ( including Ubuntu ) use the following command:


systemctl status apache2

On Red Hat based systems (RHEL/CentOS/Fedora/Rocky) use this command:


systemctl status httpd

How to Check if Apache is Running on Windows