hpiel(1)
β¨ hpiel(1) β the OpenHPI event log bestie β¨
okay so like, this is the OpenHPI manual for hpiel, a sample application that literally just shows you HPI event log entries. it's giving "small tool, big main character energy" π
and honestly? we're obsessed.
πΈ SYNOPSIS πΈ
hpiel [-D nn] [-N host[:port]] [-C <cfgfile>] [-d] [-E entity-path] [-c -p -r -X -h ]
hpiel [--domain=nn] [--host=host[:port]] [--cfgfile=file]
[--del] [--entity-path="entitypath"] [--clear --resource --rdr --debug --help]
yeah bestie, that's a lot of flags, but we're gonna go through every single one, no cap π«Ά
π¦ DESCRIPTION π¦
so hpiel goes on a little hunt through the RPT (that's the Resource Present Table, iykyk) looking for resources with SAHPI_CAPABILITY_EVENT_LOG, and then it displays the event log entries for all the resources it found. slay β¨
if no domain is selected, hpiel just uses a session with the default domain. and listen β the selected domain id must be configured via the openhpidclient.conf file specified in the environment. that part is not optional, fr fr.
π OPTIONS π
π Help Options:
-h,--helpβ shows you the help options. classic, iconic, we love her π
π₯ Application Options:
-d,--delβ display domain event log entries π-c,--clearβ clear the log before reading the event log entries. yes, before. read it again if you need to π-p,--resourceβ pull resource info along with the log entry β¨-r,--rdrβ pull RDR info along with the log entry π¦-E "epath",--entity-path="epath"β use entity path epath and display the resource-D nn,--domain=nnβ select domain id nn π-X,--debugβ display debug messages. for when you're in your detective era π-N "host[:port]",--host="host[:port]"β open a session to the domain served by the daemon at the specified URL (host:port). this option overrides theOPENHPI_DAEMON_HOSTandOPENHPI_DAEMON_PORTenvironment variables. if host contains':'(for example an IPv6 address) then enclose it in square brackets. for example:"[::1]"or"[::1]:4743". noted, bestie π«‘-C "file",--cfgfile="file"β use the passed file as the client configuration file. this option overrides theOPENHPICLIENT_CONFenvironment variable β
if neither-dor-E "epath"are specified, event log entries will be shown for all supporting resources by default. so like, don't stress, she's got you π
π HPI APIs uniquely used in this application π
these are the literal APIs this app uses, bestie β copying them exactly because we do not play with code π
SaErrorT SAHPI_API saHpiEventLogInfoGet (
SAHPI_IN SaHpiSessionIdT SessionId,
SAHPI_IN SaHpiResourceIdT ResourceId,
SAHPI_OUT SaHpiEventLogInfoT *Info );
SaErrorT SAHPI_API saHpiEventLogEntryGet (
SAHPI_IN SaHpiSessionIdT SessionId,
SAHPI_IN SaHpiResourceIdT ResourceId,
SAHPI_IN SaHpiEventLogEntryIdT EntryId,
SAHPI_OUT SaHpiEventLogEntryIdT *PrevEntryId,
SAHPI_OUT SaHpiEventLogEntryIdT *NextEntryId,
SAHPI_OUT SaHpiEventLogEntryT *EventLogEntry,
SAHPI_INOUT SaHpiRdrT *Rdr,
SAHPI_INOUT SaHpiRptEntryT *RptEntry );
SaErrorT SAHPI_API saHpiEventLogClear (
SAHPI_IN SaHpiSessionIdT SessionId,
SAHPI_IN SaHpiResourceIdT ResourceId );
π§ SEE ALSO π§
the whole friend group, honestly π«Ά
hpi_shell
hpialarms hpigensimdata hpireset hpitop
hpidomain hpiinv hpisensor hpitree
hpievents hpionIBMblade hpisettime hpiwdt
hpifan hpipower hpithres hpixml
ohdomainlist ohhandler ohparam
π AUTHORS π
authors of this man page β absolute legends, show them some love π
Peter D Phan (pdphan@users.sourceforge.net)
Ulrich Kleber (ulikleber@users.sourceforge.net)
Anton Pak (avpak@users.sourceforge.net)
and that's the whole page, bestie π β this is version 4.0.0, dated 2023-01-26, from the one and only OpenHPI crew. now go read some event logs, you gorgeous nerd πΈβ¨
π¦ where this page comes from
- opensuse-leap 16.0: openhpi-clients 3.8.0.ge4631e8a-bp160.1.14 Β· BSD-3-Clause
- opensuse-leap 16.0: openhpi-clients 3.8.0.ge4631e8a-bp160.1.14 Β· BSD-3-Clause
- opensuse-leap 16.0: openhpi-clients 3.8.0.ge4631e8a-bp160.1.14 Β· BSD-3-Clause
- opensuse-leap 16.0: openhpi-clients 3.8.0.ge4631e8a-bp160.1.14 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms