hpifan1
An openhpi sample application that shows "fan control" management instruments
Usage
hpifan [-D
nn]
[-N
host
[:port]]
[-C
<cfgfile>]
[-h]
[{-s
auto | nn}]
[-X]
hpifan [--domain=nn]
[--host=host
[:port]]
[--cfgfile=file]
[--help]
[{--speed=auto | nn}]
[--debug]
Overview
hpifan walks the RPT (Resource Present Table) for resouces that have "Fan Control" management instruments (SAHPI_CTRL_FAN_SPEED).
If no domain or host is selected, hpifan uses the default domain as specified in the openhpiclient.conf file.
Options
Help Options:
-
-h, --help -
Show help options
Application Options:
-
-s, --speed=auto|nn -
Set fan speed for ALL fans in domain speed is a number or "auto" for setting fan in auto mode
-
-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.
--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);
--speed 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);
-s since Debian 9 (Stretch).