003 File Manager
Current Path:
/usr/src/contrib/ntp/scripts
usr
/
src
/
contrib
/
ntp
/
scripts
/
📁
..
📄
Makefile.am
(5.44 KB)
📄
Makefile.in
(34.07 KB)
📄
README
(1.14 KB)
📁
build
📁
calc_tickadj
📁
deprecated
📄
invoke-plot_summary.menu
(57 B)
📄
invoke-plot_summary.texi
(4.38 KB)
📄
invoke-summary.menu
(52 B)
📄
invoke-summary.texi
(3.54 KB)
📁
lib
📁
monitoring
📁
ntp-wait
📁
ntpsweep
📁
ntptrace
📄
ntpver.in
(236 B)
📄
plot_summary-opts
(2.11 KB)
📄
plot_summary-opts.def
(2.12 KB)
📄
plot_summary.1plot_summaryman
(3.11 KB)
📄
plot_summary.1plot_summarymdoc
(2.64 KB)
📄
plot_summary.html
(12.51 KB)
📄
plot_summary.in
(10.01 KB)
📄
plot_summary.man.in
(3.11 KB)
📄
plot_summary.mdoc.in
(2.64 KB)
📄
plot_summary.texi
(1011 B)
📁
rc
📁
stats
📄
summary-opts
(1.96 KB)
📄
summary-opts.def
(1.92 KB)
📄
summary.1summaryman
(3 KB)
📄
summary.1summarymdoc
(2.51 KB)
📄
summary.html
(10.5 KB)
📄
summary.in
(11.29 KB)
📄
summary.man.in
(3 KB)
📄
summary.mdoc.in
(2.51 KB)
📄
summary.texi
(936 B)
📁
update-leap
Editing: summary-opts
# EDIT THIS FILE WITH CAUTION (summary-opts) # # It has been AutoGen-ed June 23, 2020 at 02:21:46 AM by AutoGen 5.18.5 # From the definitions summary-opts.def # and the template file perlopt use Getopt::Long qw(GetOptionsFromArray); Getopt::Long::Configure(qw(no_auto_abbrev no_ignore_case_always)); my $usage; sub usage { my ($ret) = @_; print STDERR $usage; exit $ret; } sub paged_usage { my ($ret) = @_; my $pager = $ENV{PAGER} || '(less || more)'; open STDOUT, "| $pager" or die "Can't fork a pager: $!"; print $usage; exit $ret; } sub processOptions { my $args = shift; my $opts = { 'directory' => '/var/log/ntp', 'end-date' => '', 'output-directory' => '/tmp', 'peer-dist-limit' => '400', 'skip-time-steps' => '3600', 'start-date' => '19700101', 'help' => '', 'more-help' => '' }; my $argument = ''; my $ret = GetOptionsFromArray($args, $opts, ( 'directory=s', 'end-date=i', 'output-directory=s', 'peer-dist-limit=f', 'skip-time-steps=f', 'start-date=i', 'help|?', 'more-help')); $usage = <<'USAGE'; summary - compute various stastics from NTP stat files - Ver. 4.2.8p15 USAGE: summary [ -<flag> [<val>] | --<name>[{=| }<val>] ]... --directory=str Directory containing stat files --end-date=num End date --output-directory=str Output directory --peer-dist-limit=float Peer dist limit --skip-time-steps=float Ignore time offsets larger that this --start-date=num Start date -?, --help Display usage information and exit --more-help Pass the extended usage text through a pager Options are specified by doubled hyphens and their name or by a single hyphen and the flag character. USAGE usage(0) if $opts->{'help'}; paged_usage(0) if $opts->{'more-help'}; $_[0] = $opts; return $ret; } END { close STDOUT };
Upload File
Create Folder