You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Gerhard Poul <gp...@gnu.org> on 2001/12/09 19:24:12 UTC
general/9015: no way to get apache status from command line
>Number: 9015
>Category: general
>Synopsis: no way to get apache status from command line
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Sun Dec 09 10:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: gpoul@gnu.org
>Release: 1.3.19
>Organization:
apache
>Environment:
should be the same on all platforms
>Description:
It would be handy to have something like apachectl status but which displays
the current status of apache on the command line.
>How-To-Repeat:
>Fix:
like:
# apachectl status
/usr/sbin/apachectl status: httpd (pid %d) is running
or:
# apachectl status
/usr/sbin/apachectl status: httpd (pid %d) is stopped
if this would also set the return value accordingly this would also be useable in shell-scripts.
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]