hpisettime(1)

πŸ’… hpisettime β€” the OpenHPI clock-setter bestie

hey bestie, welcome to the hpisettime(1) page from the OpenHPI crew 🫢 this is the little sample app that excercises the Event Log clock APIs β€” yes that's the original spelling, no I will not be fixing it, it's iconic πŸ’€

Basically: this is how you tell the Event Log clock a whole new date and time. Main character energy for your timestamps ✨


✨ SYNOPSIS ✨

okay so there are two ways to run her β€” the short-flag way and the long-flag way, pick your vibe:

hpisettime [-D nn] [-N host[:port]] [-C <cfgfile>] -d mm/dd/yyyy -t HH:MM:SS [-X] [-h]
hpisettime [--domain=nn] [--host=host[:port]] [--cfgfile=file] --date=mm/dd/yyyy --time=HH:MM:SS [--debug] [--help]

🌸 DESCRIPTION 🌸

hpisettime sets a brand-new date and time for the Event Log clock. that's the whole gig, she's a specialist πŸ’…

If no domain is selected, hpisettime uses a session with the default domain. and here's the little caveat you cannot skip, ngl: the selected domain id must be configured via the openhpidclient.conf file specified in the environment. no conf, no domain, you get it πŸ”₯


πŸŽ€ OPTIONS πŸŽ€

Help Options:

  • -h, --help β€” show help options. the "what does anything mean" button, we love her πŸ™ˆ

Application Options:

  • -d mm/dd/yyyy, --date=mm/dd/yyyy β€” new date. month/day/year, in that order, don't fight it πŸ—“οΈ
  • -t 24:12:60, --time=24:12:60 β€” new time of day, in 24-hr format πŸ•› (yes the example literally says 24:12:60, that's what's printed, and I'm just the messenger bestie πŸ’€)
  • -D nn, --domain=nn β€” select domain id nn πŸ‘‘
  • -X, --debug β€” display debug messages. turn it on when things are giving nothing and you need the receipts πŸ”
  • -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. If host contains : (for example an IPv6 address) then enclose it in square brackets. For example: "[::1]" or "[::1]:4743" πŸ¦‹
  • -C "file", --cfgfile="file" β€” use the passed file as the client configuration file. This option overrides the OPENHPICLIENT_CONF environment variable πŸ“

🌈 SEE ALSO 🌈

the whole friend group, go say hi πŸ‘‹

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

πŸ’œ AUTHORS πŸ’œ

authors of this man page, absolute legends, say thank you 🫢

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

ok that's the whole page bestie πŸ’– go set that clock, slay, periodt ✨

and that's a wrap from version 4.0.0, dated 2023-01-26 β€” hpisettime(1), out πŸŽ€πŸ’