1hpievents(1) OpenHPI hpievents(1)
2
3
4
6 hpievents - An openhpi sample application that polls for events.
7
9 hpievents [ -D <value> ] [-N host[:port]] [-C <cfgfile>] [ -t BLOCK|SAHPI_TIMEOUT_BLOCK|n ] [ -d -X -h ]
10 hpievents [--domain=nn] [--host=host[:port]] [--cfgfile=file]
11 [--timeout=BLOCK|SAHPI_TIMEOUT_BLOCK|n ] [--discover] [--debug] [--help]
12
14 hpievents polls for events in an opened HPI session. User can specify
15 wait time for the event. User can also select the order between hpi
16 resource (resource event) discovery and hpi event subscription.
17
18 If no domain or host is selected, hpievents polls for events in the
19 default domain as specified in the openhpiclient.conf file.
20
22 Help Options:
23 -h, --help
24 Show help options
25
26 Application Options:
27 -t n|BLOCK, --timeout=n|BLOCK
28 Wait n seconds for event or infinite wait (BLOCK)
29
30 -d, --discover
31 Call saHpiDiscover() after saHpiSubscribe()
32
33 -D nn, --domain=nn
34 Select domain id nn
35
36 -X, --debug
37 Display debug messages
38
39 -N "host[:port]", --host="host[:port]"
40 Open session to the domain served by the daemon at the specified URL
41 (host:port). This option overrides the OPENHPI_DAEMON_HOST and
42 OPENHPI_DAEMON_PORT environment variables. If host contains ':' (for
43 example IPv6 address) then enclose it in square brackets. For
44 example: "[::1]" or "[::1]:4743".
45
46 -C "file", --cfgfile="file"
47 Use passed file as client configuration file. This option overrides
48 the OPENHPICLIENT_CONF environment variable.
49
51 SaErrorT SAHPI_API saHpiSubscribe (
52 SAHPI_IN SaHpiSessionIdT SessionId );
53
54 SaErrorT SAHPI_API saHpiUnsubscribe (
55 SAHPI_IN SaHpiSessionIdT SessionId );
56
57 SaErrorT SAHPI_API saHpiEventGet (
58 SAHPI_IN SaHpiSessionIdT SessionId,
59 SAHPI_IN SaHpiTimeoutT Timeout,
60 SAHPI_OUT SaHpiEventT *Event,
61 SAHPI_INOUT SaHpiRdrT *Rdr,
62 SAHPI_INOUT SaHpiRptEntryT *RptEntry,
63 SAHPI_INOUT SaHpiEvtQueueStatusT *EventQueueStatus );
64
66 hpi_shell
67 hpialarms hpigensimdata hpireset hpitop
68 hpidomain hpiinv hpisensor hpitree
69 hpiel hpionIBMblade hpisettime hpiwdt
70 hpifan hpipower hpithres hpixml
71 ohdomainlist ohhandler ohparam
72
74 Authors of this man page:
75
76 Peter D Phan (pdphan@users.sourceforge.net)
77 Ulrich Kleber (ulikleber@users.sourceforge.net)
78 Anton Pak (avpak@users.sourceforge.net)
79
80
81
823.8.0 2017-05-27 hpievents(1)