110652Sjmz.Dd November 21 2016
210652Sjmz.Dt NTPSWEEP 1ntpsweepmdoc User Commands
310652Sjmz.Os
410652Sjmz.\"  EDIT THIS FILE WITH CAUTION  (ntpsweep-opts.mdoc)
510652Sjmz.\"
642683Sjmz.\"  It has been AutoGen-ed  November 21, 2016 at 07:58:59 AM by AutoGen 5.18.5
710652Sjmz.\"  From the definitions    ntpsweep-opts.def
810652Sjmz.\"  and the template file   agmdoc-cmd.tpl
910652Sjmz.Sh NAME
1010652Sjmz.Nm ntpsweep
1110652Sjmz.Nd Print various informations about given ntp servers
1210652Sjmz.Sh SYNOPSIS
1310652Sjmz.Nm
1410652Sjmz.\" Mixture of short (flag) options and long options
1510652Sjmz.Op Fl flags
1610652Sjmz.Op Fl flag Op Ar value
1710652Sjmz.Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc
1810652Sjmz[hostfile]
1910652Sjmz.Pp
2010652Sjmz.Sh DESCRIPTION
2110652Sjmz.Nm 
2210652Sjmzprints per host the NTP stratum level, the clock offset in seconds, the daemon
2310652Sjmzversion, the operating system and the processor. Optionally recursing through
2410652Sjmzall peers.
2510652Sjmz.Sh "OPTIONS"
2610652Sjmz.Bl -tag
2710652Sjmz.It  Fl l Ar string , Fl \-host\-list Ns = Ns Ar string 
2810652SjmzHost to execute actions on.
2910652SjmzThis option may appear an unlimited number of times.
3010652Sjmz.sp
3110652Sjmz            Use this option to specify the host on which this script operates.
3210652Sjmz            May appear multiple times.
3310652Sjmz.It  Fl p , Fl \-peers 
3410652SjmzRecursively list all peers a host synchronizes to.
3510652Sjmz.sp
3610652SjmzThis option has not been fully documented.
3710652Sjmz.It  Fl m Ar number , Fl \-maxlevel Ns = Ns Ar number 
3810652SjmzTraverse peers up to this level (4 is a reasonable number).
3910652SjmzThis option takes an integer number as its argument.
4010652Sjmz.sp
4110652SjmzThis option has not been fully documented.
4210652Sjmz.It  Fl s Ar string , Fl \-strip Ns = Ns Ar string 
4310652SjmzStrip this string from hostnames.
4410652Sjmz.sp
4510652SjmzThis option has not been fully documented.
4610652Sjmz.It  Fl h Ar string , Fl \-host Ns = Ns Ar string 
4710652SjmzSpecify a single host.
4810652Sjmz.sp
4910652SjmzThis option has not been fully documented.
5010652Sjmz.sp
5110652Sjmz.B
5210652SjmzNOTE: THIS OPTION IS DEPRECATED
5315940Sjoerg.It Fl \&? , Fl \-help
5410652SjmzDisplay usage information and exit.
5510652Sjmz.It Fl \&! , Fl \-more\-help
5610652SjmzPass the extended usage information through a pager.
5710652Sjmz.It Fl v Op Brq Ar v|c|n  Fl \-version Op Brq Ar v|c|n
5821821SjoergOutput version of program and exit.  The default mode is `v', a simple
5921821Sjoergversion.  The `c' mode will print copyright information and `n' will
6010652Sjmzprint the full copyright notice.
6121821Sjoerg.El
6210652Sjmz.Sh "EXIT STATUS"
6310652SjmzOne of the following exit values will be returned:
6410652Sjmz.Bl -tag
6510652Sjmz.It 0 " (EXIT_SUCCESS)"
6621821SjoergSuccessful program execution.
6710652Sjmz.It 1 " (EXIT_FAILURE)"
6810652SjmzThe operation failed or the command syntax was not valid.
6910652Sjmz.It 70 " (EX_SOFTWARE)"
7015940Sjoerglibopts had an internal operational error.  Please report
7110652Sjmzit to autogen\-users@lists.sourceforge.net.  Thank you.
7210652Sjmz.El
7321821Sjoerg.Sh "NOTES"
7410652SjmzThis manual page was \fIAutoGen\fP\-erated from the \fBntpsweep\fP
7510652Sjmzoption definitions.
7621821Sjoerg