www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Poul <gp...@gnu.org>
Subject general/9015: no way to get apache status from command line
Date Sun, 09 Dec 2001 18:24:12 GMT

>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
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Sun Dec 09 10:30:00 PST 2001
>Originator:     gpoul@gnu.org
>Release:        1.3.19
should be the same on all platforms
It would be handy to have something like apachectl status but which displays
the current status of apache on the command line.


# apachectl status
/usr/sbin/apachectl status: httpd (pid %d) is running


# 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.
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@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!     ]

View raw message