hpireset(1)

hpireset1

This sample openhpi application exercises hpi reset management apis.

Usage

hpireset [-D nn] [-N host [:port]] [-C <cfgfile>] [-r -w -h -X]

hpireset [--domain nn] [--host=host [:port]] [--cfgfile=file] [--hard --warm --help --debug]

Overview

hpireset searches the Resource Presence Table (RPT) for resources with Reset Capability. It sends the requested reset action to all resources with SAHPI_CAPABILITY_RESET.

If no domain is selected, hpireset uses a session with the default domain. The selected domain id must be configured via the openhpidclient.conf file specified in the environment.

Options

Help Options:

-h, --help

Show help options

Application Options:

-r, --hard

Hard resets the system

-w, --warm

Warm resets the system

-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.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

--cfgfile since Debian 9 (Stretch); --debug since Debian 9 (Stretch); --domain since Debian 9 (Stretch); --hard since Debian 9 (Stretch); --help since Debian 9 (Stretch); --host since Debian 9 (Stretch); --warm since Debian 9 (Stretch); -C since Debian 9 (Stretch); -D since Debian 9 (Stretch); -N since Debian 9 (Stretch); -X since Debian 9 (Stretch); -h since Debian 9 (Stretch); -r since Debian 9 (Stretch); -w since Debian 9 (Stretch).