hpitree1
A openhpi sample application that shows in details the resources (rpt's) and resources' manamegement instruments (rdr's) data structures of the managed openhpi complex.
Usage
hpitree [-D
nn]
[-N
host
[:port]]
[-C
<cfgfile>]
[-acdiorsw]
[-n
nn]
[-X]
[-h]
hpitree [--domain=nn]
[--host=host
[:port]]
[--cfgfile=file]
[--all]
[--controls]
[--rdrs]
[--inventories]
[--rpts]
[--sensors]
[--watchdogs]
[--overview]
[--resource=nn]
[--debug]
[--help]
Overview
hpitree walks the Resource Presence Table (RPT) of the managed openHPI complex, and displays in details the resources (rpt's) and resources' management instruments (rdr's) data structures.
If no domain or host is selected, hpitree uses the default domain as specified in the openhpiclient.conf file.
Options
(No Option) Display all rpts and rdrs
Help Options:
-
-h, --help -
Show help options
Application Options:
-
-a, --all -
Display all rpts and rdrs (default)
-
-r, --rpts -
Display only rpts
-
-d, --rdrs -
Display rdr records
-
-o, --overview -
Display system overview: rpt & rdr headers
-
-s, --sensors -
Display only sensors
-
-c, --controls -
Display only controls
-
-w, --watchdogs -
Display only watchdogs
-
-i, --inventories -
Display only inventories
-
-n nn, --resource=nn -
Display only resource nn and its topology
-
-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.
--all since Debian 9 (Stretch);
--cfgfile since Debian 9 (Stretch);
--controls since Debian 9 (Stretch);
--debug since Debian 9 (Stretch);
--domain since Debian 9 (Stretch);
--help since Debian 9 (Stretch);
--host since Debian 9 (Stretch);
--inventories since Debian 9 (Stretch);
--overview since Debian 9 (Stretch);
--rdrs since Debian 9 (Stretch);
--resource since Debian 9 (Stretch);
--rpts since Debian 9 (Stretch);
--sensors since Debian 9 (Stretch);
--watchdogs since Debian 9 (Stretch);
-C since Debian 9 (Stretch);
-D since Debian 9 (Stretch);
-N since Debian 9 (Stretch);
-X since Debian 9 (Stretch);
-a since Debian 9 (Stretch);
-c since Debian 9 (Stretch);
-d since Debian 9 (Stretch);
-h since Debian 9 (Stretch);
-i since Debian 9 (Stretch);
-n since Debian 9 (Stretch);
-o since Debian 9 (Stretch);
-r since Debian 9 (Stretch);
-s since Debian 9 (Stretch);
-w since Debian 9 (Stretch).