hpipower1
This sample openhpi application exercises hpi power management apis.
Usage
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]
Overview
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.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 7 times.
--blade since Debian 9 (Stretch);
--cfgfile since Debian 9 (Stretch);
--debug since Debian 9 (Stretch);
--domain since Debian 9 (Stretch);
--help since Debian 9 (Stretch);
--host since Debian 9 (Stretch);
--power-down since Debian 9 (Stretch);
--power-up since Debian 9 (Stretch);
--reset since Debian 9 (Stretch);
--unattended since Debian 9 (Stretch);
-C since Debian 9 (Stretch);
-D since Debian 9 (Stretch);
-N since Debian 9 (Stretch);
-X since Debian 9 (Stretch);
-b since Debian 9 (Stretch);
-d since Debian 9 (Stretch);
-h since Debian 9 (Stretch);
-p since Debian 9 (Stretch);
-r since Debian 9 (Stretch);
-u since Debian 9 (Stretch).