Utility for listing database connection status and the WWW user interface status information including currently logged in users.
status [--help] [OPTIONS]
option | description |
---|---|
--pending | Display number of host changes pending for each server. |
--pending=servername | Display pending host changes for given server. |
--cgi-disable=message | Disable WWW interface and set message to be displayed when users try to access the WWW interface. |
--cgi-enable | Enable WWW interface. |
--quiet | Display less verbose output. |
--versions | Display module version numbers. |
This command can be easily used from shell scripts to test for pending changes for a server by using --pending=servername (and optionally --quiet option) which returns exit code 2 if there are pending hosts (0=no pending hosts, 1=error).