ups_mond(1M)ups_mond(1M)NAMEups_mond - HP PowerTrust Uninterruptible Power System monitor daemon
SYNOPSIS
configfile]
DESCRIPTION
When it detects a loss of AC power for a period of time exceeding a
configured limit, ensures file system integrity by shutting down HP-UX.
To do this, uses the device special files specified in its configura‐
tion file by default) to monitor the state of each HP PowerTrust Unin‐
terruptible Power System (UPS) attached to the system.
Use the option to specify a configuration file other than See
ups_conf(4) for a description of the configuration file format.
By default, is locked into memory (see plock(2)). That is, is not
swappable. Although extreme caution is required, you can make swap‐
pable if all swap disks are powered by an uninterruptible power system
(assured to have power when the primary power source fails). To make
swappable, use the option.
When is forced to shutdown the system, it executes the command with
real-time priority (default behavior). can be configured to execute
command with a timeshare (non-real-time) priority by using the option.
is started by (see init(1M)) by means of an entry in the file (see
inittab(4)). The entry uses the option to automatically restart if is
terminated by the command (see kill(1)). This entry should follow the
entry:
so that is started after the system logging daemon It should also be
run with real-time priority to assure its execution (see rtprio(1)).
logs messages, and when appropriate invokes using the option, or For
each configured UPS, can be instructed (in to log messages only, with‐
out taking or action. See MSG_ONLY in ups_conf(4). By default per‐
forms the and actions.
Note that when the shutdown is performed, UPSs that have lost AC line
voltage will be turned off once the shutdown_timeout_mins time has
expired (see ups_conf(4)). By default the system will power on when
the AC line voltage is restored. The kill_after_shutdown line can be
added to to tell the UPS not to come back up when AC line voltage is
restored (see ups_conf(4)).
uses the message logging facility to log these occurrences (see sys‐
log(3C)). Messages are written to the console if is unable to send
them to Critical messages (see DIAGNOSTICS section) are also sent to
the console.
RETURN VALUE
returns the following values:
zero (0) Successful Completion
non-zero Error encountered. See ERRORS below.
EXAMPLES
The entry in should be similar to this:
DIAGNOSTICS
Messages resulting from normal operation:
Messages resulting in exit of daemon:
Messages for which might be run (depends on UPS configuration):
Messages for which might be run (depends on UPS configuration):
The above messages are followed by the following message:
Messages that are only logged (no action is taken):
Messages relating to Timer Controlled Power On and Off:
ERRORS
returns the following error values:
encountered an incorrect parameter.
Insufficient privileges.
must be started by a superuser.
was interrupted (terminated) by
or See signal(2) and kill(1).
one (1) For all other error conditions.
FILESSEE ALSOkill(1), init(1M), plock(2), signal(2), syslog(3C), inittab(4),
ups_conf(4).
ups_mond(1M)