A couple of thoughts: You could always check the output of $ ps -e |grep apache which would return a blank string if the server is stopped, and a formatted list of process IDs if it's running.
Or you could check for the existence of /var/run/apache2.pid which I *assume* is created when the process is running, and deleted when stopped (which seems to be the case on my machine). Fantastic software by the way. -- Show apache status and start/stop controls https://bugs.launchpad.net/bugs/241033 You received this bug notification because you are a member of Rapache Developers, which is subscribed to Remote Apache Management tool . Status in rapache: Confirmed Bug description: It would be nice to be able to see if the apache server is (still) running and control that with rapache. At Windows you've got the Apache monitor. It would be great if similar functionality would also be implemented in Rapache. This would include these features: -View of current server status -Stop/start/reload control -Be able to control more servers(this is probably something for stage 2/3) _______________________________________________ Mailing list: https://launchpad.net/~rapache-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~rapache-devel More help : https://help.launchpad.net/ListHelp

