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