mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-18 09:43:09 +00:00
Merge add-ouptput-col-headers-bug-1059757.
This commit is contained in:
@@ -1945,6 +1945,11 @@ sub main {
|
||||
my $fi = new FileIterator();
|
||||
my $tst = new TimeSeriesTrender(callback => \&print_report);
|
||||
|
||||
# Print headers.
|
||||
# https://bugs.launchpad.net/percona-toolkit/+bug/956981
|
||||
printf "%10s %10s %10s %10s %10s %10s\n",
|
||||
qw(TS CNT SUM MIN MAX AVG STDDEV);
|
||||
|
||||
# ########################################################################
|
||||
# If --pid, check it first since we'll die if it already exists.
|
||||
# ########################################################################
|
||||
@@ -2039,10 +2044,12 @@ if ( !caller ) { exit main(@ARGV); }
|
||||
|
||||
=head1 NAME
|
||||
|
||||
pt-trend - Compute statistics over a set of time-series data points.
|
||||
pt-trend - (DEPRECATED) Compute statistics over a set of time-series data points.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
This tool is deprecated and will be removed in Percona Toolkit 2.2.
|
||||
|
||||
Usage: pt-trend [OPTION...] [FILE ...]
|
||||
|
||||
pt-trend reads a slow query log and outputs statistics on it.
|
||||
|
@@ -1,3 +1,4 @@
|
||||
TS CNT SUM MIN MAX AVG
|
||||
1297191601 1.000000 0.000012 0.000012 0.000012 0.000012
|
||||
1297191602 1.000000 0.000012 0.000012 0.000012 0.000012
|
||||
1297191603 1.000000 0.000012 0.000012 0.000012 0.000012
|
||||
|
Reference in New Issue
Block a user