smupsd [-d] [-p] [-h] [-s] [-t threshold] [-m minutes] [-l logfile] [-i
log interval] <device or host>
-d
Debug mode; don't shut down the system.
-p
Don't power down the UPS after shutting down the system.
-h
Monitor a remote host instead of a tty device.
-s
Secure mode; only accept network requests
from hosts specified numerically in /etc/hosts.allow
.
Note that upsmon
communicates with smupsd
over the
network.
-t <threshold>
Battery level shutdown threshold (default: 40%). If set to 0, don't shut down based on battery level.
-m <minutes>
Shut down after a power failure has lasted this many minutes, regardless of battery level threshold.
-l <logfile>
Log UPS parameters to this file.
(default: /var/log/smupsd
, specified in the provided
startup file). Under Red Hat Linux, the log will be rolled once a
week.
-i <log interval>
Log file write interval in seconds (default: 600).