1330567Sgordon.Dd February 27 2018
2275970Scy.Dt NTPSWEEP 1ntpsweepmdoc User Commands
3275970Scy.Os
4275970Scy.\"  EDIT THIS FILE WITH CAUTION  (ntpsweep-opts.mdoc)
5275970Scy.\"
6330567Sgordon.\"  It has been AutoGen-ed  February 27, 2018 at 10:50:04 AM by AutoGen 5.18.5
7275970Scy.\"  From the definitions    ntpsweep-opts.def
8275970Scy.\"  and the template file   agmdoc-cmd.tpl
9275970Scy.Sh NAME
10275970Scy.Nm ntpsweep
11275970Scy.Nd Print various informations about given ntp servers
12275970Scy.Sh SYNOPSIS
13275970Scy.Nm
14275970Scy.\" Mixture of short (flag) options and long options
15275970Scy.Op Fl flags
16275970Scy.Op Fl flag Op Ar value
17275970Scy.Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc
18275970Scy[hostfile]
19275970Scy.Pp
20275970Scy.Sh DESCRIPTION
21275970Scy.Nm 
22275970Scyprints per host the NTP stratum level, the clock offset in seconds, the daemon
23275970Scyversion, the operating system and the processor. Optionally recursing through
24275970Scyall peers.
25275970Scy.Sh "OPTIONS"
26275970Scy.Bl -tag
27275970Scy.It  Fl l Ar string , Fl \-host\-list Ns = Ns Ar string 
28275970ScyHost to execute actions on.
29275970ScyThis option may appear an unlimited number of times.
30275970Scy.sp
31275970Scy            Use this option to specify the host on which this script operates.
32275970Scy            May appear multiple times.
33275970Scy.It  Fl p , Fl \-peers 
34275970ScyRecursively list all peers a host synchronizes to.
35275970Scy.sp
36275970ScyThis option has not been fully documented.
37275970Scy.It  Fl m Ar number , Fl \-maxlevel Ns = Ns Ar number 
38275970ScyTraverse peers up to this level (4 is a reasonable number).
39275970ScyThis option takes an integer number as its argument.
40275970Scy.sp
41275970ScyThis option has not been fully documented.
42275970Scy.It  Fl s Ar string , Fl \-strip Ns = Ns Ar string 
43275970ScyStrip this string from hostnames.
44275970Scy.sp
45275970ScyThis option has not been fully documented.
46275970Scy.It  Fl h Ar string , Fl \-host Ns = Ns Ar string 
47275970ScySpecify a single host.
48275970Scy.sp
49275970ScyThis option has not been fully documented.
50275970Scy.sp
51275970Scy.B
52275970ScyNOTE: THIS OPTION IS DEPRECATED
53275970Scy.It Fl \&? , Fl \-help
54275970ScyDisplay usage information and exit.
55275970Scy.It Fl \&! , Fl \-more\-help
56275970ScyPass the extended usage information through a pager.
57275970Scy.It Fl v Op Brq Ar v|c|n  Fl \-version Op Brq Ar v|c|n
58275970ScyOutput version of program and exit.  The default mode is `v', a simple
59275970Scyversion.  The `c' mode will print copyright information and `n' will
60275970Scyprint the full copyright notice.
61275970Scy.El
62275970Scy.Sh "EXIT STATUS"
63275970ScyOne of the following exit values will be returned:
64275970Scy.Bl -tag
65275970Scy.It 0 " (EXIT_SUCCESS)"
66275970ScySuccessful program execution.
67275970Scy.It 1 " (EXIT_FAILURE)"
68275970ScyThe operation failed or the command syntax was not valid.
69275970Scy.It 70 " (EX_SOFTWARE)"
70275970Scylibopts had an internal operational error.  Please report
71275970Scyit to autogen\-users@lists.sourceforge.net.  Thank you.
72275970Scy.El
73275970Scy.Sh "NOTES"
74275970ScyThis manual page was \fIAutoGen\fP\-erated from the \fBntpsweep\fP
75275970Scyoption definitions.
76