hpipower(1)

πŸ’– hpipower(1) β€” the OpenHPI power-management girlie ✨

okay so real talk, this is the hpipower page from the OpenHPI manual set, and she is literally the sample app that puts the HPI Power Management APIs through their paces πŸŽ€


✨ SYNOPSIS ✨

 hpipower [ -D nn ] [-N host[:port]] [-C <cfgfile>] [ -d -p -r -u -X -h] [ -b n ]
 hpipower [--domain=nn] [--host=host[:port]] [--cfgfile=file]
          [--power-down --power-up --reset --unattended --debug --help] [--blade=n ]

πŸ¦‹ NAME πŸ¦‹

hpipower β€” this sample openhpi application exercises HPI Power Management APIs. no cap, that's the whole job πŸ’…

🌸 DESCRIPTION 🌸

so hpipower goes rummaging through the Resource Presence Table (RPT) looking for resources that have Power Capability. then it sends whatever power action you asked for to the target you selected. it's giving "find the thing, power the thing" energy ⚑

if you don't pick a domain or a host, hpipower just uses the default domain β€” the one specified in the openhpiclient.conf file. defaults are cute like that 🫢


πŸ’… OPTIONS πŸ’…

πŸŽ€ Help Options:

  • -h, --help β€” shows you the help options. the "bestie what are my options" flag πŸ™ˆ

πŸ‘‘ Application Options:

  • -d, --power-down β€” powers down the target object. bye bye, target πŸ’€
  • -p, --power-up β€” powers on the target object. wake up queen πŸ‘‘
  • -r, --reset β€” resets the target object. fresh start era ✨
  • -u, --unattended β€” unattended. yes that's genuinely all the description says, i'm not making stuff up πŸ“
  • -b n, --blade=n β€” specify blade n (1...n). pick your blade, bestie πŸ”ͺ
  • -D nn, --domain=nn β€” select domain id nn. choose your domain, main character style 🌈
  • -X, --debug β€” display debug messages. the "show me everything" setting, yapping mode activated πŸ”₯
  • -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 the OPENHPI_DAEMON_HOST and OPENHPI_DAEMON_PORT environment variables. oh and important: if host contains ':' (like, for example an IPv6 address) then enclose it in square brackets. for example: "[::1]" or "[::1]:4743". brackets are the dress code, iykyk πŸ’–
  • -C "file", --cfgfile="file" β€” use the passed file as the client configuration file. this option overrides the OPENHPICLIENT_CONF environment variable. config file supremacy 🧚
lowkey reminder that -N and -C are out here overriding environment variables, so if your env vars are acting up, now you know why 😭

πŸ” SEE ALSO πŸ”

go read these too, they're all in the same friend group:

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

🫢 AUTHORS 🫢

authors of this man page (give them their flowers πŸ’):

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

alright bestie, that's the whole page β€” OpenHPI version 4.0.0, dated 2023-01-26, and it's been a pleasure serving you πŸ’œ slay responsibly ⭐