xref: /netbsd-src/external/bsd/ntp/dist/scripts/summary.1summarymdoc (revision 897be3a4bac39d8b2e92077bf29f4a2e67d31983)
1*897be3a4Schristos.Dd May 25 2024
28585484eSchristos.Dt SUMMARY 1summarymdoc User Commands
3b8ecfcfeSchristos.Os
48585484eSchristos.\"  EDIT THIS FILE WITH CAUTION  (summary-opts.mdoc)
58585484eSchristos.\"
6*897be3a4Schristos.\"  It has been AutoGen-ed  May 25, 2024 at 12:06:04 AM by AutoGen 5.18.16
78585484eSchristos.\"  From the definitions    summary-opts.def
88585484eSchristos.\"  and the template file   agmdoc-cmd.tpl
98585484eSchristos.Sh NAME
108585484eSchristos.Nm summary
118585484eSchristos.Nd compute various stastics from NTP stat files
128585484eSchristos.Sh SYNOPSIS
138585484eSchristos.Nm
148585484eSchristos.Op Fl \-option\-name
158585484eSchristos.Op Fl \-option\-name Ar value
168585484eSchristos.Pp
178585484eSchristosAll arguments must be options.
188585484eSchristos.Pp
198585484eSchristos.Sh DESCRIPTION
208585484eSchristos.sp
218585484eSchristos.Sh "OPTIONS"
228585484eSchristos.Bl -tag
238585484eSchristos.It  Fl \-directory  Ns = Ns Ar string
248585484eSchristosDirectory containing stat files.
258585484eSchristosThe default
268585484eSchristos.Ar string
278585484eSchristosfor this option is:
288585484eSchristos.ti +4
298585484eSchristos /var/log/ntp
308585484eSchristos.sp
318585484eSchristos        The directory where \fBntpd\fP will search for .stat files generated
328585484eSchristos        by \fBntpd\fP.
338585484eSchristos.It  Fl \-end\-date  Ns = Ns Ar number
348585484eSchristosEnd date.
358585484eSchristosThis option takes an integer number as its argument.
368585484eSchristos.sp
378585484eSchristos        Process all files with the date suffix less or equal to value of this
388585484eSchristos        option.  Defaults to today minus one day (Use \fBdate \-u +%Y%m%d\fP)
398585484eSchristos        to get the timestamp.
408585484eSchristos.It  Fl \-output\-directory  Ns = Ns Ar str
418585484eSchristosOutput directory.
428585484eSchristosThe default
438585484eSchristos.Ar str
448585484eSchristosfor this option is:
458585484eSchristos.ti +4
468585484eSchristos /tmp
478585484eSchristos.sp
488585484eSchristos        The output directory \fBsummary\fP will write all output files to.
498585484eSchristos.It  Fl \-peer\-dist\-limit  Ns = Ns Ar float
508585484eSchristosPeer dist limit.
518585484eSchristosThe default
528585484eSchristos.Ar float
538585484eSchristosfor this option is:
548585484eSchristos.ti +4
558585484eSchristos 400
568585484eSchristos.sp
578585484eSchristos.It  Fl \-skip\-time\-steps  Ns = Ns Ar float
588585484eSchristosIgnore time offsets larger that this.
598585484eSchristosThe default
608585484eSchristos.Ar float
618585484eSchristosfor this option is:
628585484eSchristos.ti +4
638585484eSchristos 3600
648585484eSchristos.sp
658585484eSchristos.It  Fl \-start\-date  Ns = Ns Ar num
668585484eSchristosStart date.
678585484eSchristosThis option takes an integer number as its argument.
688585484eSchristosThe default
698585484eSchristos.Ar num
708585484eSchristosfor this option is:
718585484eSchristos.ti +4
728585484eSchristos 19700101
738585484eSchristos.sp
748585484eSchristos        Process all files with the date suffix more or equal to value of
758585484eSchristos        this option.  Defaults to 197000101.
768585484eSchristos.It Fl \-help
778585484eSchristosDisplay usage information and exit.
788585484eSchristos.It Fl \-more\-help
798585484eSchristosPass the extended usage information through a pager.
80b8ecfcfeSchristos.It Fl \-version Op Brq Ar v|c|n
81b8ecfcfeSchristosOutput version of program and exit.  The default mode is `v', a simple
82b8ecfcfeSchristosversion.  The `c' mode will print copyright information and `n' will
83b8ecfcfeSchristosprint the full copyright notice.
848585484eSchristos.El
858585484eSchristos.Sh "EXIT STATUS"
868585484eSchristosOne of the following exit values will be returned:
878585484eSchristos.Bl -tag
888585484eSchristos.It 0 " (EXIT_SUCCESS)"
898585484eSchristosSuccessful program execution.
908585484eSchristos.It 1 " (EXIT_FAILURE)"
918585484eSchristosThe operation failed or the command syntax was not valid.
928585484eSchristos.It 70 " (EX_SOFTWARE)"
938585484eSchristoslibopts had an internal operational error.  Please report
948585484eSchristosit to autogen\-users@lists.sourceforge.net.  Thank you.
958585484eSchristos.El
968585484eSchristos.Sh "NOTES"
978585484eSchristosThis manual page was \fIAutoGen\fP\-erated from the \fBsummary\fP
988585484eSchristosoption definitions.
99