1hpiel(1)                            OpenHPI                           hpiel(1)
2
3
4

NAME

6       hpiel - An openhpi sample application that displays HPI event log
7       entries.
8

SYNOPSIS

10        hpiel [-D nn] [-N host[:port]] [-C <cfgfile>] [-d] [-E entity-path] [-c -p -r -X -h ]
11        hpiel [--domain=nn]  [--host=host[:port]] [--cfgfile=file]
12              [--del] [--entity-path="entitypath"] [--clear --resource --rdr --debug --help]
13

DESCRIPTION

15       hpiel searches the RPT (Resource Present Table) for resources with
16       SAHPI_CAPABILITY_EVENT_LOG and displays event log entries for resources
17       found.
18
19       If no domain is selected, hpiel uses a session with the default domain.
20       The selected domain id must be configured via the openhpidclient.conf
21       file specified in the environment.
22

OPTIONS

24   Help Options:
25       -h, --help
26         Show help options
27
28   Application Options:
29       -d, --del
30         Display domain event log entries
31
32       -c, --clear
33         Clear log before reading event log entries
34
35       -p, --resource
36         Pull resource info along with log entry
37
38       -r, --rdr
39         Pull RDR info along with log entry
40
41       -E "epath", --entity-path="epath"
42         Use entity path epath and display resource
43
44       -D nn, --domain=nn
45         Select domain id nn
46
47       -X, --debug
48         Display debug messages
49
50       -N "host[:port]", --host="host[:port]"
51         Open session to the domain served by the daemon at the specified URL
52         (host:port).  This option overrides the OPENHPI_DAEMON_HOST and
53         OPENHPI_DAEMON_PORT environment variables.  If host contains ':' (for
54         example IPv6 address) then enclose it in square brackets.  For
55         example: "[::1]" or "[::1]:4743".
56
57       -C "file", --cfgfile="file"
58         Use passed file as client configuration file.  This option overrides
59         the OPENHPICLIENT_CONF environment variable.
60
61       If neither -d or -E "epath" are specified, event log entries will be
62       shown for all supporting resources by default.
63

HPI APIs uniquely used in this application

65         SaErrorT SAHPI_API saHpiEventLogInfoGet (
66             SAHPI_IN  SaHpiSessionIdT     SessionId,
67             SAHPI_IN  SaHpiResourceIdT    ResourceId,
68             SAHPI_OUT SaHpiEventLogInfoT  *Info );
69
70         SaErrorT SAHPI_API saHpiEventLogEntryGet (
71             SAHPI_IN    SaHpiSessionIdT          SessionId,
72             SAHPI_IN    SaHpiResourceIdT         ResourceId,
73             SAHPI_IN    SaHpiEventLogEntryIdT    EntryId,
74             SAHPI_OUT   SaHpiEventLogEntryIdT    *PrevEntryId,
75             SAHPI_OUT   SaHpiEventLogEntryIdT    *NextEntryId,
76             SAHPI_OUT   SaHpiEventLogEntryT      *EventLogEntry,
77             SAHPI_INOUT SaHpiRdrT                *Rdr,
78             SAHPI_INOUT SaHpiRptEntryT           *RptEntry );
79
80         SaErrorT SAHPI_API saHpiEventLogClear (
81             SAHPI_IN  SaHpiSessionIdT     SessionId,
82             SAHPI_IN  SaHpiResourceIdT    ResourceId );
83

SEE ALSO

85                hpi_shell
86                hpialarms      hpigensimdata  hpireset       hpitop
87                hpidomain      hpiinv         hpisensor      hpitree
88                hpievents      hpionIBMblade  hpisettime     hpiwdt
89                hpifan         hpipower       hpithres       hpixml
90                ohdomainlist   ohhandler      ohparam
91

AUTHORS

93       Authors of this man page:
94
95        Peter D Phan (pdphan@users.sourceforge.net)
96        Ulrich Kleber (ulikleber@users.sourceforge.net)
97        Anton Pak (avpak@users.sourceforge.net)
98
99
100
1013.8.0                             2017-05-27                          hpiel(1)
Impressum