MAN page from Mandrake Other bpowerd-2.2-3.i386.rpm
BPOWERD
Section: Maintenance Commands (8)
Index NAME
bpowerd - monitor UPS status for Best Patriot power supplies
SYNOPSIS
bpowerd [
-k]
<device> DESCRIPTION
bpowerdis used to monitor a serial port for the status of a Best Patriot power supply.It runs as a daemon and sends status information to the system log.
bpowerdcan detect powerfail, battery-low, and power-restore conditions. The status is communicated to init via /dev/initctl.
bpowerd can also send a signal to the power supply's inverter by using the -k switch.
OPTIONS
- -k
- Send kill signal to the inverter. Power will cycle in 2 minutes. This callis deprecated signal the deamon with SIGINT instead.
- <device>
- Serial port connected to UPS. (usually /dev/ups)
EXITING
Send SIGTERM to kill deamon and exit cleanly, and SIGINT to kill deamon andkill inverter if in powerfail. Do not kill deamon with SIGKILL as it may notclose the serial port and will prevent the deamon from running correctly inthe future. (until the next reboot)
FILES
- /etc/rc.d/init.d/bpowerd
- sysvinit script to start the bpowerd daemon
- /etc/rc.d/init.d/bpowerfail
- script called by init with (start|now|stop) argument when power eventis signalled
- /etc/inittab
- Contains definitions of scripts to be run by init when signalled bybpowerd
The following lines should be present:
pf::powerwait:/etc/rc.d/init.d/powerfail start
pn::powerfailnow:/etc/rc.d/init.d/powerfail now
po::powerokwait:/etc/rc.d/init.d/powerfail stop
SEE ALSO
init(8).
AUTHOR
- Program: Christopher Craig <ccraigAATTccraig.org>
- Manual page: Mitch Blevins <mblevinAATTdebian.org>
- Changes by Christopher Craig
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- EXITING
- FILES
- SEE ALSO
- AUTHOR
This document was created byman2html,using the manual pages.