dioddate(8)

πŸ“¦
version 1.0.24+53.g0d87511 Β· 2 versions
, in opensuse-leap 16.0

✨ dioddate(8) β€” get server system time ✨

ok so bestie, welcome to dioddate from the diod manual πŸ’… this one's short but it's lowkey a lifesaver, trust.


πŸŽ€ NAME πŸŽ€

dioddate β€” gets the server's system time, that's the whole job, and it ate πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

dioddate [OPTIONS] [-s NAME] [file [file...]]

🌸 DESCRIPTION 🌸

okay so picture this: you need the current system time and zone info from a diod server, and dioddate is your girl β€” she gets it by reading ctl:date. icon behavior πŸ‘‘

So here's the vibe check on what happens next. If you pass the --set-time option, she sets the local system time on the client. If you don't, she just prints the server time on stdout and minds her business ✨

And why do you care? Because this is literally a simple way to get rough time synchronization before you issue a MUNGE-authenticated attach request 🫢 like, fr fr, think bootstrap environment where the "ctl" synthetic file system is exported with the "noauth" option. That's the moment she shines.


πŸ’… OPTIONS πŸ’…

  • -s, --server NAME β€” the server, in IP[:PORT], HOST[:PORT], or /path/to/socket form. the default is localhost:564 🌈
  • -m, --msize SIZE β€” the maximum request size including 9P headers, default 65536 πŸ“
  • -u, --uid UID β€” try to attach to the server as the specified user, default is your effective uid (so like, you, bestie) 🫡
  • -t, --timeout SECS β€” force timeout after the specified number of seconds. default is no timeout β€” she'll wait forever, main character patience ⏳
  • -S, --set-time β€” sets the local system time to match the server's time πŸ”₯ that's the one that actually changes stuff, so yk, be normal about it

⭐ SEE ALSO ⭐

  • diod (8) β€” go read her too, she's iconic

ngl there is no dramatic warning section here, but like β€” -S genuinely writes to your local clock, so maybe don't yeet it at production and then act surprised πŸ’€

and that's the page!! luv u, go sync some time πŸ§šπŸ’œ

sign-off: this cutie lives in the diod manual, version 1.0-pre27-516-g0d87511 β€” catch her at dioddate(8) πŸŽ€