12b15cb3dSCy Schubert@node ntpsweep Invocation 22b15cb3dSCy Schubert@section Invoking ntpsweep 32b15cb3dSCy Schubert@pindex ntpsweep 42b15cb3dSCy Schubert@cindex Print various informations about given ntp servers 52b15cb3dSCy Schubert@ignore 62b15cb3dSCy Schubert# 72b15cb3dSCy Schubert# EDIT THIS FILE WITH CAUTION (invoke-ntpsweep.texi) 82b15cb3dSCy Schubert# 9*f5f40dd6SCy Schubert# It has been AutoGen-ed May 25, 2024 at 12:05:42 AM by AutoGen 5.18.16 102b15cb3dSCy Schubert# From the definitions ntpsweep-opts.def 112b15cb3dSCy Schubert# and the template file agtexi-cmd.tpl 122b15cb3dSCy Schubert@end ignore 132b15cb3dSCy Schubert 142b15cb3dSCy Schubert@code{ntpsweep} 152b15cb3dSCy Schubertprints per host the NTP stratum level, the clock offset in seconds, the daemon 162b15cb3dSCy Schubertversion, the operating system and the processor. Optionally recursing through 172b15cb3dSCy Schubertall peers. 182b15cb3dSCy Schubert 192b15cb3dSCy SchubertThis section was generated by @strong{AutoGen}, 202b15cb3dSCy Schubertusing the @code{agtexi-cmd} template and the option descriptions for the @code{ntpsweep} program. 212b15cb3dSCy Schubert 222b15cb3dSCy Schubert@menu 232b15cb3dSCy Schubert* ntpsweep usage:: ntpsweep help/usage (@option{--help}) 242b15cb3dSCy Schubert* ntpsweep host-list:: host-list option (-l) 252b15cb3dSCy Schubert* ntpsweep peers:: peers option (-p) 262b15cb3dSCy Schubert* ntpsweep maxlevel:: maxlevel option (-m) 272b15cb3dSCy Schubert* ntpsweep strip:: strip option (-s) 282b15cb3dSCy Schubert* ntpsweep host:: host option (-h) 292b15cb3dSCy Schubert* ntpsweep exit status:: exit status 302b15cb3dSCy Schubert@end menu 312b15cb3dSCy Schubert 322b15cb3dSCy Schubert@node ntpsweep usage 332b15cb3dSCy Schubert@subsection ntpsweep help/usage (@option{--help}) 342b15cb3dSCy Schubert@cindex ntpsweep help 352b15cb3dSCy Schubert 362b15cb3dSCy SchubertThis is the automatically generated usage text for ntpsweep. 372b15cb3dSCy Schubert 382b15cb3dSCy SchubertThe text printed is the same whether selected with the @code{help} option 392b15cb3dSCy Schubert(@option{--help}) or the @code{more-help} option (@option{--more-help}). @code{more-help} will print 402b15cb3dSCy Schubertthe usage text by passing it through a pager program. 412b15cb3dSCy Schubert@code{more-help} is disabled on platforms without a working 422b15cb3dSCy Schubert@code{fork(2)} function. The @code{PAGER} environment variable is 432b15cb3dSCy Schubertused to select the program, defaulting to @file{more}. Both will exit 442b15cb3dSCy Schubertwith a status code of 0. 452b15cb3dSCy Schubert 462b15cb3dSCy Schubert@exampleindent 0 472b15cb3dSCy Schubert@example 48*f5f40dd6SCy Schubertntpsweep - Print various informations about given ntp servers - Ver. 4.2.8p18 492b15cb3dSCy SchubertUSAGE: ntpsweep [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [hostfile] 502b15cb3dSCy Schubert 512b15cb3dSCy Schubert -l, --host-list=str Host to execute actions on 522b15cb3dSCy Schubert - may appear multiple times 532b15cb3dSCy Schubert -p, --peers Recursively list all peers a host synchronizes to 542b15cb3dSCy Schubert -m, --maxlevel=num Traverse peers up to this level (4 is a reasonable number) 552b15cb3dSCy Schubert -s, --strip=str Strip this string from hostnames 562b15cb3dSCy Schubert -?, --help Display usage information and exit 572b15cb3dSCy Schubert --more-help Pass the extended usage text through a pager 582b15cb3dSCy Schubert 592b15cb3dSCy SchubertOptions are specified by doubled hyphens and their name or by a single 602b15cb3dSCy Schuberthyphen and the flag character. 612b15cb3dSCy Schubert@end example 622b15cb3dSCy Schubert@exampleindent 4 632b15cb3dSCy Schubert 642b15cb3dSCy Schubert@node ntpsweep host-list 652b15cb3dSCy Schubert@subsection host-list option (-l) 662b15cb3dSCy Schubert@cindex ntpsweep-host-list 672b15cb3dSCy Schubert 682b15cb3dSCy SchubertThis is the ``host to execute actions on'' option. 692b15cb3dSCy SchubertThis option takes a string argument. 702b15cb3dSCy Schubert 712b15cb3dSCy Schubert@noindent 722b15cb3dSCy SchubertThis option has some usage constraints. It: 732b15cb3dSCy Schubert@itemize @bullet 742b15cb3dSCy Schubert@item 752b15cb3dSCy Schubertmay appear an unlimited number of times. 762b15cb3dSCy Schubert@end itemize 772b15cb3dSCy Schubert 782b15cb3dSCy Schubert Use this option to specify the host on which this script operates. 792b15cb3dSCy Schubert May appear multiple times. 802b15cb3dSCy Schubert@node ntpsweep peers 812b15cb3dSCy Schubert@subsection peers option (-p) 822b15cb3dSCy Schubert@cindex ntpsweep-peers 832b15cb3dSCy Schubert 842b15cb3dSCy SchubertThis is the ``recursively list all peers a host synchronizes to'' option. 852b15cb3dSCy SchubertThis option has no @samp{doc} documentation. 862b15cb3dSCy Schubert@node ntpsweep maxlevel 872b15cb3dSCy Schubert@subsection maxlevel option (-m) 882b15cb3dSCy Schubert@cindex ntpsweep-maxlevel 892b15cb3dSCy Schubert 902b15cb3dSCy SchubertThis is the ``traverse peers up to this level (4 is a reasonable number)'' option. 912b15cb3dSCy SchubertThis option takes a number argument. 922b15cb3dSCy SchubertThis option has no @samp{doc} documentation. 932b15cb3dSCy Schubert@node ntpsweep strip 942b15cb3dSCy Schubert@subsection strip option (-s) 952b15cb3dSCy Schubert@cindex ntpsweep-strip 962b15cb3dSCy Schubert 972b15cb3dSCy SchubertThis is the ``strip this string from hostnames'' option. 982b15cb3dSCy SchubertThis option takes a string argument. 992b15cb3dSCy SchubertThis option has no @samp{doc} documentation. 1002b15cb3dSCy Schubert@node ntpsweep host 1012b15cb3dSCy Schubert@subsection host option (-h) 1022b15cb3dSCy Schubert@cindex ntpsweep-host 1032b15cb3dSCy Schubert 1042b15cb3dSCy SchubertThis is the ``specify a single host'' option. 1052b15cb3dSCy SchubertThis option takes a string argument. 1062b15cb3dSCy SchubertThis option has no @samp{doc} documentation. 1072b15cb3dSCy Schubert 1082b15cb3dSCy Schubert@strong{NOTE}@strong{: THIS OPTION IS DEPRECATED} 1092b15cb3dSCy Schubert@node ntpsweep exit status 1102b15cb3dSCy Schubert@subsection ntpsweep exit status 1112b15cb3dSCy Schubert 1122b15cb3dSCy SchubertOne of the following exit values will be returned: 1132b15cb3dSCy Schubert@table @samp 1142b15cb3dSCy Schubert@item 0 (EXIT_SUCCESS) 1152b15cb3dSCy SchubertSuccessful program execution. 1162b15cb3dSCy Schubert@item 1 (EXIT_FAILURE) 1172b15cb3dSCy SchubertThe operation failed or the command syntax was not valid. 1182b15cb3dSCy Schubert@end table 119