ntpsweep.1ntpsweepmdoc revision 1.1.1.1.6.5.4.1 1 1.1.1.1.6.5.4.1 martin .Dd November 21 2016
2 1.1 christos .Dt NTPSWEEP 1ntpsweepmdoc User Commands
3 1.1.1.1.6.1 riz .Os
4 1.1 christos .\" EDIT THIS FILE WITH CAUTION (ntpsweep-opts.mdoc)
5 1.1 christos .\"
6 1.1.1.1.6.5.4.1 martin .\" It has been AutoGen-ed November 21, 2016 at 07:58:59 AM by AutoGen 5.18.5
7 1.1 christos .\" From the definitions ntpsweep-opts.def
8 1.1 christos .\" and the template file agmdoc-cmd.tpl
9 1.1 christos .Sh NAME
10 1.1 christos .Nm ntpsweep
11 1.1 christos .Nd Print various informations about given ntp servers
12 1.1 christos .Sh SYNOPSIS
13 1.1 christos .Nm
14 1.1 christos .\" Mixture of short (flag) options and long options
15 1.1 christos .Op Fl flags
16 1.1 christos .Op Fl flag Op Ar value
17 1.1 christos .Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc
18 1.1 christos [hostfile]
19 1.1 christos .Pp
20 1.1 christos .Sh DESCRIPTION
21 1.1 christos .Nm
22 1.1 christos prints per host the NTP stratum level, the clock offset in seconds, the daemon
23 1.1 christos version, the operating system and the processor. Optionally recursing through
24 1.1 christos all peers.
25 1.1 christos .Sh "OPTIONS"
26 1.1 christos .Bl -tag
27 1.1 christos .It Fl l Ar string , Fl \-host\-list Ns = Ns Ar string
28 1.1 christos Host to execute actions on.
29 1.1 christos This option may appear an unlimited number of times.
30 1.1 christos .sp
31 1.1 christos Use this option to specify the host on which this script operates.
32 1.1 christos May appear multiple times.
33 1.1 christos .It Fl p , Fl \-peers
34 1.1 christos Recursively list all peers a host synchronizes to.
35 1.1 christos .sp
36 1.1 christos This option has not been fully documented.
37 1.1 christos .It Fl m Ar number , Fl \-maxlevel Ns = Ns Ar number
38 1.1 christos Traverse peers up to this level (4 is a reasonable number).
39 1.1 christos This option takes an integer number as its argument.
40 1.1 christos .sp
41 1.1 christos This option has not been fully documented.
42 1.1 christos .It Fl s Ar string , Fl \-strip Ns = Ns Ar string
43 1.1 christos Strip this string from hostnames.
44 1.1 christos .sp
45 1.1 christos This option has not been fully documented.
46 1.1 christos .It Fl h Ar string , Fl \-host Ns = Ns Ar string
47 1.1 christos Specify a single host.
48 1.1 christos .sp
49 1.1 christos This option has not been fully documented.
50 1.1 christos .sp
51 1.1 christos .B
52 1.1 christos NOTE: THIS OPTION IS DEPRECATED
53 1.1 christos .It Fl \&? , Fl \-help
54 1.1 christos Display usage information and exit.
55 1.1 christos .It Fl \&! , Fl \-more\-help
56 1.1 christos Pass the extended usage information through a pager.
57 1.1.1.1.6.1 riz .It Fl v Op Brq Ar v|c|n Fl \-version Op Brq Ar v|c|n
58 1.1.1.1.6.1 riz Output version of program and exit. The default mode is `v', a simple
59 1.1.1.1.6.1 riz version. The `c' mode will print copyright information and `n' will
60 1.1.1.1.6.1 riz print the full copyright notice.
61 1.1 christos .El
62 1.1 christos .Sh "EXIT STATUS"
63 1.1 christos One of the following exit values will be returned:
64 1.1 christos .Bl -tag
65 1.1 christos .It 0 " (EXIT_SUCCESS)"
66 1.1 christos Successful program execution.
67 1.1 christos .It 1 " (EXIT_FAILURE)"
68 1.1 christos The operation failed or the command syntax was not valid.
69 1.1 christos .It 70 " (EX_SOFTWARE)"
70 1.1 christos libopts had an internal operational error. Please report
71 1.1 christos it to autogen\-users (a] lists.sourceforge.net. Thank you.
72 1.1 christos .El
73 1.1 christos .Sh "NOTES"
74 1.1 christos This manual page was \fIAutoGen\fP\-erated from the \fBntpsweep\fP
75 1.1 christos option definitions.
76