hpireset(1)

🌸 hpireset(1) β€” OpenHPI's reset button, but make it fashion πŸ’…

okay bestie, so you know how sometimes you just need to reset things? yeah. this is the manual page for hpireset, a sample openhpi application that literally exercises the HPI Reset Management APIs. she's iconic, she's focused, she resets. periodt. πŸ’–


✨ SYNOPSIS ✨

 hpireset [-D nn] [-N host[:port]] [-C <cfgfile>] [-r -w -h -X]
 hpireset [--domain nn] [--host=host[:port]] [--cfgfile=file] [--hard --warm --help --debug]

πŸŽ€ DESCRIPTION πŸŽ€

so basically, hpireset sleuths around the Resource Presence Table (RPT) looking for resources with Reset Capability. yes, that's a whole vibe check for things that can be reset. it then sends the requested reset action to all resources with SAHPI_CAPABILITY_RESET. all of them. no skips. 🫢

if no domain is selected, hpireset just uses a session with the default domain β€” lowkey the path of least resistance. the selected domain id has to be configured via the openhpidclient.conf file specified in the environment. that's the whole tea. β˜•


πŸ¦‹ OPTIONS πŸ¦‹

Help Options β€” the "what do I do?" corner πŸ™ˆ

  • -h, --help β€” shows help options. the classic "wait what does this do again?" button. we've all been there bestie.

Application Options β€” the main character energy πŸ‘‘

  • -r, --hard β€” hard resets the system. it's giving dramatic flair, it's giving final boss energy. no going back. πŸ’€
  • -w, --warm β€” warm resets the system. softer, gentler, like a reset with a cozy blanket. still a reset though. 🌸
  • -D nn, --domain=nn β€” selects domain id nn. you pick the domain, you're the icon making choices. πŸ‘‘
  • -X, --debug β€” displays debug messages. for when you're feeling nosy and want to see everything going on. no judgment, we love a curious queen. πŸ”
  • -N "host[:port]", --host="host[:port]" β€” opens a 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. important note: if host contains ':' (for example an IPv6 address) then enclose it in square brackets. for example: "[::1]" or "[::1]:4743". don't forget the brackets, bestie, it's not a vibe if it doesn't parse. 🧚
  • -C "file", --cfgfile="file" β€” uses the passed file as the client configuration file. this option overrides the OPENHPICLIENT_CONF environment variable. basically you're telling it "hey, use this file, not whatever the environment says," and honestly? slay. πŸŽ€

🌈 SEE ALSO 🌈

your other fave tools are here, ily β€” go check them out:

  • hpi_shell
  • hpialarms
  • hpifan
  • hpipower
  • hpitop
  • hpidomain
  • hpigensimdata
  • hpisensor
  • hpitree
  • hpiel
  • hpiiinv
  • hpisettime
  • hpiwdt
  • hpievents
  • hpionIBMblade
  • hpithres
  • hpixml
  • ohdomainlist
  • ohhandler
  • ohparam

πŸ‘‘ AUTHORS πŸ‘‘

the literal authors of this man page β€” legends, the blueprint, the originators:

  • Peter D Phan (pdphan@users.sourceforge.net)
  • Ulrich Kleber (ulikleber@users.sourceforge.net)
  • Anton Pak (avpak@users.sourceforge.net)

we stan. πŸ’œ


big love to you for reading this far, bestie β€” this page is from OpenHPI version 4.0.0, dated 2023-01-26. you're officially in the know. now go reset something (responsibly). πŸ’–βœ¨