logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dioddate - get server system time

Description

dioddate obtains the current system time and zone information from a diod server by reading ctl:date.  If
       the --set-time option is specified, sets the local system time on the client; otherwise prints the server
       time on stdout.

       This  is  a  simple  way to obtain rough time synchronization before issuing a MUNGE-authenticated attach
       request, for example in a bootstrap environment where the "ctl" synthetic file system  is  exported  with
       the "noauth" option.

Name

       dioddate - get server system time

Options

-s,--serverNAME
              The server in IP[:PORT], HOST[:PORT], or /path/to/socket form (default localhost:564).

       -m,--msizeSIZE
              The maximum request size including 9P headers (default 65536).

       -u,--uidUID
              Try to attach to the server as the specified user (default your effective uid).

       -t,--timeoutSECS
              Force timeout after specified number of seconds (default no timeout).

       -S,--set-time
              Set the local system time to match the server's time.

See Also

       diod (8)

diod-1.0.24                                        2015-03-31                                        dioddate(8)

Synopsis

dioddate[OPTIONS][-sNAME][file[file...]]

See Also