This document describes the use of the NTP Project’s ntpsweep
program.
This document applies to version 4.2.8p17 of ntpsweep
.
• ntpsweep Description | Description | |
• ntpsweep Invocation | Invoking ntpsweep |
Up: Top
ntpsweep
prints per host the NTP stratum level, the clock offset in seconds, the daemon
version, the operating system and the processor. Optionally recursing through
all peers.
This section was generated by AutoGen,
using the agtexi-cmd
template and the option descriptions for the ntpsweep
program.
• ntpsweep usage | ntpsweep help/usage (--help) | |
• ntpsweep host-list | host-list option (-l) | |
• ntpsweep peers | peers option (-p) | |
• ntpsweep maxlevel | maxlevel option (-m) | |
• ntpsweep strip | strip option (-s) | |
• ntpsweep host | host option (-h) | |
• ntpsweep exit status | exit status |
Next: ntpsweep host-list, Up: ntpsweep Invocation
This is the automatically generated usage text for ntpsweep.
The text printed is the same whether selected with the help
option
(--help) or the more-help
option (--more-help). more-help
will print
the usage text by passing it through a pager program.
more-help
is disabled on platforms without a working
fork(2)
function. The PAGER
environment variable is
used to select the program, defaulting to more. Both will exit
with a status code of 0.
ntpsweep - Print various informations about given ntp servers - Ver. 4.2.8p17 USAGE: ntpsweep [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [hostfile] -l, --host-list=str Host to execute actions on - may appear multiple times -p, --peers Recursively list all peers a host synchronizes to -m, --maxlevel=num Traverse peers up to this level (4 is a reasonable number) -s, --strip=str Strip this string from hostnames -?, --help Display usage information and exit --more-help Pass the extended usage text through a pager Options are specified by doubled hyphens and their name or by a single hyphen and the flag character.
Next: ntpsweep peers, Previous: ntpsweep usage, Up: ntpsweep Invocation
This is the “host to execute actions on” option. This option takes a string argument.
This option has some usage constraints. It:
Use this option to specify the host on which this script operates. May appear multiple times.
Next: ntpsweep maxlevel, Previous: ntpsweep host-list, Up: ntpsweep Invocation
This is the “recursively list all peers a host synchronizes to” option. This option has no ‘doc’ documentation.
Next: ntpsweep strip, Previous: ntpsweep peers, Up: ntpsweep Invocation
This is the “traverse peers up to this level (4 is a reasonable number)” option. This option takes a number argument. This option has no ‘doc’ documentation.
Next: ntpsweep host, Previous: ntpsweep maxlevel, Up: ntpsweep Invocation
This is the “strip this string from hostnames” option. This option takes a string argument. This option has no ‘doc’ documentation.
Next: ntpsweep exit status, Previous: ntpsweep strip, Up: ntpsweep Invocation
This is the “specify a single host” option. This option takes a string argument. This option has no ‘doc’ documentation.
NOTE: THIS OPTION IS DEPRECATED
Previous: ntpsweep host, Up: ntpsweep Invocation
One of the following exit values will be returned:
Successful program execution.
The operation failed or the command syntax was not valid.