vpcd - virtual power control daemon
Contents
Description
vpcd is a test program for PowerMan which emulates a remote power control device. It can be run
interactively by the powerman daemon, or it can listen on a port of your choosing.
Files
/usr/sbin/vpcd
Interactive Commands
The following commands are available at the vpcd> prompt:
login The login command must br run before any of the other commands will work. No username or password
is required.
logoff Return vpcd to the initial state.
statPLUG|*
Show the power status of PLUG. If PLUG is ``*'', perform this action on all plugs.
beaconPLUG|*
Show the beacon status of PLUG. If PLUG is ``*'', perform this action on all plugs.
tempPLUG|*
Show the temperature of the node attached to PLUG. If PLUG is ``*'', perform this action on all
plugs.
spewCOUNT
Print COUNT 80-char lines. This is the basis of a buffer handling test.
onPLUG|*
Turn on PLUG. If PLUG is ``*'', perform this action on all plugs.
offPLUG|*
Turn off PLUG. If PLUG is ``*'', perform this action on all plugs.
flashPLUG|*
Light the beacon on PLUG. If PLUG is ``*'', perform this action on all plugs.
unflashPLUG|*
Unlight the beacon on PLUG. If PLUG is ``*'', perform this action on all plugs.
resetPLUG|*
Reset the node attached to PLUG. If PLUG is ``*'', perform this action on all plugs.
Name
vpcd - virtual power control daemon
Options
-p,--portPORT
Instructs vpcd to listen for connections on the specified port instead of using stdin/stdout.
Only one connection will be accepted.
Origin
PowerMan was originally developed by Andrew Uselton on LLNL's Linux clusters. This software is open
source and distributed under the terms of the GNU GPL.
See Also
powerman(1), powermand(8), httppower(8), plmpower(8), vpcd(8), powerman.conf(5), powerman.dev(5), powerman-devices(7). http://sourceforge.net/projects/powerman powerman-2.3.5 2009-02-09 vpcd(8)
Synopsis
vpcd[--portPORT]
