How to check a service is running or not in Linux
Tutorials Shared by the Internet Community
Total Hits - 28418
Total Votes - 113 votes
Vote Up - 48 votes
Vote Down - 65 votes
Domain - www.linuxnix.com
Category - Linux/Administration
Submitted By - Surendra Anne
Submitted on - 2013-09-17 13:07:02
This is a small "How to" for checking a service is running in the server or not.
Some times we need to check the status of a service if it is running or not to cross verify something on server. Suppose you have edited your httpd.conf file and when restarting the service it just show start service is on. But when you try to get access to the web site the site is down. At that time we can use below command to check if Apache service is running or not.. More detail...