| 1 |
.TH dioddate 8 "@META_DATE@" "@META_ALIAS@" "@META_NAME@" |
| 2 |
.SH NAME |
| 3 |
dioddate \- get server system time |
| 4 |
.SH SYNOPSIS |
| 5 |
\fBdioddate\fR \fI[OPTIONS] [-s NAME] [file [file...]]\fR |
| 6 |
.SH DESCRIPTION |
| 7 |
.B dioddate |
| 8 |
obtains the current system time and zone information from a \fBdiod\fR |
| 9 |
server by reading \fIctl:date\fR. If the \fI--set-time\fR option |
| 10 |
is specified, sets the local system time on the client; otherwise |
| 11 |
prints the server time on stdout. |
| 12 |
.LP |
| 13 |
This is a simple way to obtain rough time synchronization before |
| 14 |
issuing a MUNGE-authenticated attach request, for example in a bootstrap |
| 15 |
environment where the "ctl" synthetic file system is exported with |
| 16 |
the "noauth" option. |
| 17 |
.SH OPTIONS |
| 18 |
.TP |
| 19 |
.I "-s, --server NAME" |
| 20 |
The server in IP[:PORT], HOST[:PORT], or /path/to/socket form |
| 21 |
(default localhost:564). |
| 22 |
.TP |
| 23 |
.I "-m, --msize SIZE" |
| 24 |
The maximum request size including 9P headers (default 65536). |
| 25 |
.TP |
| 26 |
.I "-u, --uid UID" |
| 27 |
Try to attach to the server as the specified user (default your effective uid). |
| 28 |
.TP |
| 29 |
.I "-t, --timeout SECS" |
| 30 |
Force timeout after specified number of seconds (default no timeout). |
| 31 |
.TP |
| 32 |
.I "-S, --set-time" |
| 33 |
Set the local system time to match the server's time. |
| 34 |
.SH "SEE ALSO" |
| 35 |
diod (8) |