status

Utility for listing database connection status and the WWW user interface status information including currently logged in users.

status [--help] [OPTIONS]

optiondescription
--pendingDisplay number of host changes pending for each server.
--pending=servernameDisplay pending host changes for given server.
--cgi-disable=messageDisable WWW interface and set message to be displayed when users try to access the WWW interface.
--cgi-enableEnable WWW interface.
--quietDisplay less verbose output.
--versionsDisplay 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).