vpcd8
Virtual power control daemon
Usage
vpcd [--port
PORT]
Overview
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.
Options
-
-p, --port PORT -
Instructs
vpcdto listen for connections on the specified port instead of using stdin/stdout. Only one connection will be accepted.
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
vpcdto the initial state.
- stat PLUG|*
-
Show the power status of PLUG. If PLUG is ``*'', perform this action on all plugs.
- beacon PLUG|*
-
Show the beacon status of PLUG. If PLUG is ``*'', perform this action on all plugs.
- temp PLUG|*
-
Show the temperature of the node attached to PLUG. If PLUG is ``*'', perform this action on all plugs.
- spew COUNT
-
Print COUNT 80-char lines. This is the basis of a buffer handling test.
- on PLUG|*
-
Turn on PLUG. If PLUG is ``*'', perform this action on all plugs.
- off PLUG|*
-
Turn off PLUG. If PLUG is ``*'', perform this action on all plugs.
- flash PLUG|*
-
Light the beacon on PLUG. If PLUG is ``*'', perform this action on all plugs.
- unflash PLUG|*
-
Unlight the beacon on PLUG. If PLUG is ``*'', perform this action on all plugs.
- reset PLUG|*
-
Reset the node attached to PLUG. If PLUG is ``*'', perform this action on all plugs.
Files
/usr/sbin/vpcd
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.
Releases
7 releases since Debian 6.0 (Squeeze); the text changed 1 time.