NAME¶
hpipower - This sample openhpi application exercises HPI Power Management APIs.
SYNOPSIS¶
hpipower [ -D nn ] [-N host[:port]] [-C <cfgfile>] [ -d -p -r -u -X -h] [ -b n ]
hpipower [--domain=nn] [--host=host[:port]] [--cfgfile=file]
[--power-down --power-up --reset --unattended --debug --help] [--blade=n ]
DESCRIPTION¶
hpipower searches the Resource Presence Table (RPT) for resources with Power
Capability. It sends the requested power action to the selected target.
If no domain or host is selected, hpipower uses the default domain
as specified in the openhpiclient.conf file.
OPTIONS¶
Help Options:¶
- -h, --help
- Show help options
Application Options:¶
- -d, --power-down
- Power down target object
- -p, --power-up
- Power on target object
- -r, --reset
- Reset target object
- -u, --unattended
- Unattended
- -b n, --blade=n
- Specify blade n (1...n)
- -D nn, --domain=nn
- Select domain id nn
- -X, --debug
- Display debug messages
- -N "host[:port]",
--host="host[:port]"
- Open session to the domain served by the daemon at the specified URL
(host:port). This option overrides the OPENHPI_DAEMON_HOST and
OPENHPI_DAEMON_PORT environment variables. If host contains ':' (for
example IPv6 address) then enclose it in square brackets. For example:
"[::1]" or "[::1]:4743".
- -C "file",
--cfgfile="file"
- Use passed file as client configuration file. This option overrides the
OPENHPICLIENT_CONF environment variable.
SEE ALSO¶
hpi_shell
hpialarms hpifan hpireset hpitop
hpidomain hpigensimdata hpisensor hpitree
hpiel hpiiinv hpisettime hpiwdt
hpievents hpionIBMblade hpithres hpixml
ohdomainlist ohhandler ohparam
AUTHORS¶
Authors of this man page:
Peter D Phan (pdphan@users.sourceforge.net)
Ulrich Kleber (ulikleber@users.sourceforge.net)
Anton Pak (avpak@users.sourceforge.net)