xref: /freebsd/contrib/ntp/scripts/summary.1summarymdoc (revision f5f40dd63bc7acbb5312b26ac1ea1103c12352a6)
1*f5f40dd6SCy Schubert.Dd May 25 2024
22b15cb3dSCy Schubert.Dt SUMMARY 1summarymdoc User Commands
32b15cb3dSCy Schubert.Os
42b15cb3dSCy Schubert.\"  EDIT THIS FILE WITH CAUTION  (summary-opts.mdoc)
52b15cb3dSCy Schubert.\"
6*f5f40dd6SCy Schubert.\"  It has been AutoGen-ed  May 25, 2024 at 12:06:04 AM by AutoGen 5.18.16
72b15cb3dSCy Schubert.\"  From the definitions    summary-opts.def
82b15cb3dSCy Schubert.\"  and the template file   agmdoc-cmd.tpl
92b15cb3dSCy Schubert.Sh NAME
102b15cb3dSCy Schubert.Nm summary
112b15cb3dSCy Schubert.Nd compute various stastics from NTP stat files
122b15cb3dSCy Schubert.Sh SYNOPSIS
132b15cb3dSCy Schubert.Nm
142b15cb3dSCy Schubert.Op Fl \-option\-name
152b15cb3dSCy Schubert.Op Fl \-option\-name Ar value
162b15cb3dSCy Schubert.Pp
172b15cb3dSCy SchubertAll arguments must be options.
182b15cb3dSCy Schubert.Pp
192b15cb3dSCy Schubert.Sh DESCRIPTION
202b15cb3dSCy Schubert.sp
212b15cb3dSCy Schubert.Sh "OPTIONS"
222b15cb3dSCy Schubert.Bl -tag
232b15cb3dSCy Schubert.It  Fl \-directory  Ns = Ns Ar string
242b15cb3dSCy SchubertDirectory containing stat files.
252b15cb3dSCy SchubertThe default
262b15cb3dSCy Schubert.Ar string
272b15cb3dSCy Schubertfor this option is:
282b15cb3dSCy Schubert.ti +4
292b15cb3dSCy Schubert /var/log/ntp
302b15cb3dSCy Schubert.sp
312b15cb3dSCy Schubert        The directory where \fBntpd\fP will search for .stat files generated
322b15cb3dSCy Schubert        by \fBntpd\fP.
332b15cb3dSCy Schubert.It  Fl \-end\-date  Ns = Ns Ar number
342b15cb3dSCy SchubertEnd date.
352b15cb3dSCy SchubertThis option takes an integer number as its argument.
362b15cb3dSCy Schubert.sp
372b15cb3dSCy Schubert        Process all files with the date suffix less or equal to value of this
382b15cb3dSCy Schubert        option.  Defaults to today minus one day (Use \fBdate \-u +%Y%m%d\fP)
392b15cb3dSCy Schubert        to get the timestamp.
402b15cb3dSCy Schubert.It  Fl \-output\-directory  Ns = Ns Ar str
412b15cb3dSCy SchubertOutput directory.
422b15cb3dSCy SchubertThe default
432b15cb3dSCy Schubert.Ar str
442b15cb3dSCy Schubertfor this option is:
452b15cb3dSCy Schubert.ti +4
462b15cb3dSCy Schubert /tmp
472b15cb3dSCy Schubert.sp
482b15cb3dSCy Schubert        The output directory \fBsummary\fP will write all output files to.
492b15cb3dSCy Schubert.It  Fl \-peer\-dist\-limit  Ns = Ns Ar float
502b15cb3dSCy SchubertPeer dist limit.
512b15cb3dSCy SchubertThe default
522b15cb3dSCy Schubert.Ar float
532b15cb3dSCy Schubertfor this option is:
542b15cb3dSCy Schubert.ti +4
552b15cb3dSCy Schubert 400
562b15cb3dSCy Schubert.sp
572b15cb3dSCy Schubert.It  Fl \-skip\-time\-steps  Ns = Ns Ar float
582b15cb3dSCy SchubertIgnore time offsets larger that this.
592b15cb3dSCy SchubertThe default
602b15cb3dSCy Schubert.Ar float
612b15cb3dSCy Schubertfor this option is:
622b15cb3dSCy Schubert.ti +4
632b15cb3dSCy Schubert 3600
642b15cb3dSCy Schubert.sp
652b15cb3dSCy Schubert.It  Fl \-start\-date  Ns = Ns Ar num
662b15cb3dSCy SchubertStart date.
672b15cb3dSCy SchubertThis option takes an integer number as its argument.
682b15cb3dSCy SchubertThe default
692b15cb3dSCy Schubert.Ar num
702b15cb3dSCy Schubertfor this option is:
712b15cb3dSCy Schubert.ti +4
722b15cb3dSCy Schubert 19700101
732b15cb3dSCy Schubert.sp
742b15cb3dSCy Schubert        Process all files with the date suffix more or equal to value of
752b15cb3dSCy Schubert        this option.  Defaults to 197000101.
762b15cb3dSCy Schubert.It Fl \-help
772b15cb3dSCy SchubertDisplay usage information and exit.
782b15cb3dSCy Schubert.It Fl \-more\-help
792b15cb3dSCy SchubertPass the extended usage information through a pager.
802b15cb3dSCy Schubert.It Fl \-version Op Brq Ar v|c|n
812b15cb3dSCy SchubertOutput version of program and exit.  The default mode is `v', a simple
822b15cb3dSCy Schubertversion.  The `c' mode will print copyright information and `n' will
832b15cb3dSCy Schubertprint the full copyright notice.
842b15cb3dSCy Schubert.El
852b15cb3dSCy Schubert.Sh "EXIT STATUS"
862b15cb3dSCy SchubertOne of the following exit values will be returned:
872b15cb3dSCy Schubert.Bl -tag
882b15cb3dSCy Schubert.It 0 " (EXIT_SUCCESS)"
892b15cb3dSCy SchubertSuccessful program execution.
902b15cb3dSCy Schubert.It 1 " (EXIT_FAILURE)"
912b15cb3dSCy SchubertThe operation failed or the command syntax was not valid.
922b15cb3dSCy Schubert.It 70 " (EX_SOFTWARE)"
932b15cb3dSCy Schubertlibopts had an internal operational error.  Please report
942b15cb3dSCy Schubertit to autogen\-users@lists.sourceforge.net.  Thank you.
952b15cb3dSCy Schubert.El
962b15cb3dSCy Schubert.Sh "NOTES"
972b15cb3dSCy SchubertThis manual page was \fIAutoGen\fP\-erated from the \fBsummary\fP
982b15cb3dSCy Schubertoption definitions.
99