monshow(1)

NAME
monshow - show operational status of mon server.

SYNOPSIS
monshow [--showall] [--full] [--auth] [--disabled] [--state] [--login user] [--old] [--server hostname] [--port portnum] [--prot protocol] [--rcfile file]

DESCRIPTION
monshow show the operational status of the mon server.

OPTIONS

--showall
    Do not read configuration file, and show operational status of all groups and services.

--full
    Instead of showing only failed services, show all services no matter the state.

--auth
    Authenticate client to the mon server.

--disabled
    Show disabled groups, services, and hosts. The default is to not show anything which is disabled, but this may be overridden by the config file.

--state
    Show the state of the server (stopped or not). The default is to not show the state, but this may be overridden by the config file.

--login username
    When authenticating, use username.

--port portnum
    Connect to the server on portnum.

--prot protocol
    Sets the protocol to protocol. The protocol must match the format "1.2.3". If unset, the default supplied by the Mon::Client module is used. Do not use this parameter unless you really know what you are doing.

--old
    Use the old 0.37 protocol and port number (32777).

--rcfile file
    Use configuration file file instead of ~/.monshowrc.

CONFIGURATION FILE
Upon startup, monshow attempts to read a configuration from $HOME/.monshowrc, or from the file specified by --rcfile. This file contains a "view" of which services to display. It contains two possible types of entries: one or more "group service" specifications, and one or more "set" commands. A line containing "group service" instructs the client to only display the operational status of that service. If no lines like this are present, then the default is to show all services from all groups. A line containing "set show-disabled" has the same effect as using the --disabled option. A line containing "set show-status" has the same effect as using the --state option. Blank lines and lines beginning with a # (pound) are ignored.

ENVIRONMENT VARIABLES

MONSERVER
    The hostname of the server which runs the mon process.

MONPORT
    The port number to connect to.

SEE ALSO
mon(1)

BUGS
Report bugs to the email address below.

AUTHOR
Jim Trocki <trockij@transmeta.com>