invoke-sntp.texi (ntp-4.2.8p14) | : | invoke-sntp.texi (ntp-4.2.8p15) | ||
---|---|---|---|---|
@node sntp Invocation | @node sntp Invocation | |||
@section Invoking sntp | @section Invoking sntp | |||
@pindex sntp | @pindex sntp | |||
@cindex standard Simple Network Time Protocol client program | @cindex standard Simple Network Time Protocol client program | |||
@ignore | @ignore | |||
# | # | |||
# EDIT THIS FILE WITH CAUTION (invoke-sntp.texi) | # EDIT THIS FILE WITH CAUTION (invoke-sntp.texi) | |||
# | # | |||
# It has been AutoGen-ed March 3, 2020 at 05:40:02 PM by AutoGen 5.18.5 | # It has been AutoGen-ed June 23, 2020 at 02:19:36 AM by AutoGen 5.18.5 | |||
# From the definitions sntp-opts.def | # From the definitions sntp-opts.def | |||
# and the template file agtexi-cmd.tpl | # and the template file agtexi-cmd.tpl | |||
@end ignore | @end ignore | |||
@code{sntp} | @code{sntp} | |||
can be used as an SNTP client to query a NTP or SNTP server and either display | can be used as an SNTP client to query a NTP or SNTP server and either display | |||
the time or set the local system's time (given suitable privilege). It can be | the time or set the local system's time (given suitable privilege). It can be | |||
run as an interactive command or from a | run as an interactive command or from a | |||
@code{cron} | @code{cron} | |||
job. | job. | |||
skipping to change at line 101 | skipping to change at line 101 | |||
The text printed is the same whether selected with the @code{help} option | The text printed is the same whether selected with the @code{help} option | |||
(@option{--help}) or the @code{more-help} option (@option{--more-help}). @code{ more-help} will print | (@option{--help}) or the @code{more-help} option (@option{--more-help}). @code{ more-help} will print | |||
the usage text by passing it through a pager program. | the usage text by passing it through a pager program. | |||
@code{more-help} is disabled on platforms without a working | @code{more-help} is disabled on platforms without a working | |||
@code{fork(2)} function. The @code{PAGER} environment variable is | @code{fork(2)} function. The @code{PAGER} environment variable is | |||
used to select the program, defaulting to @file{more}. Both will exit | used to select the program, defaulting to @file{more}. Both will exit | |||
with a status code of 0. | with a status code of 0. | |||
@exampleindent 0 | @exampleindent 0 | |||
@example | @example | |||
sntp - standard Simple Network Time Protocol client program - Ver. 4.2.8p14 | sntp - standard Simple Network Time Protocol client program - Ver. 4.2.8p15 | |||
Usage: sntp [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... \ | Usage: sntp [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... \ | |||
[ hostname-or-IP ...] | [ hostname-or-IP ...] | |||
Flg Arg Option-Name Description | Flg Arg Option-Name Description | |||
-4 no ipv4 Force IPv4 DNS name resolution | -4 no ipv4 Force IPv4 DNS name resolution | |||
- prohibits the option 'ipv6' | - prohibits the option 'ipv6' | |||
-6 no ipv6 Force IPv6 DNS name resolution | -6 no ipv6 Force IPv6 DNS name resolution | |||
- prohibits the option 'ipv4' | - prohibits the option 'ipv4' | |||
-a Num authentication Enable authentication with the key auth-keynumber | -a Num authentication Enable authentication with the key auth-keynumber | |||
-b Str broadcast Listen to the address specified for broadcast time sync | -b Str broadcast Listen to the address specified for broadcast time sync | |||
- may appear multiple times | - may appear multiple times | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |