
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 its running or not to cross verify some thing 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...