mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 04:39:35 +00:00
Remove duplicate copyright notices. Add POD and copyright for Aspersa tools. Fix checking for "pt-pmp" instead of "pmp", etc.
This commit is contained in:
74
bin/pt-mext
74
bin/pt-mext
@@ -1,30 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This program is copyright 2010-2011 Baron Schwartz, 2011 Percona Inc.
|
||||
# Feedback and improvements are welcome.
|
||||
#
|
||||
# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify it under
|
||||
# the terms of the GNU General Public License as published by the Free Software
|
||||
# Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
# systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
# licenses.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along with
|
||||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
# Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
# This program is part of Aspersa (http://code.google.com/p/aspersa/)
|
||||
|
||||
# ########################################################################
|
||||
# Author: Baron Schwartz
|
||||
#
|
||||
# This program is part of Percona Toolkit.
|
||||
# This program was forked from Aspersa (http://code.google.com/p/aspersa/)
|
||||
# in June, 2011.
|
||||
# ########################################################################
|
||||
# This program is part of Percona Toolkit: http://www.percona.com/software/
|
||||
# See "COPYRIGHT, LICENSE, AND WARRANTY" at the end of this file for legal
|
||||
# notices and disclaimers.
|
||||
|
||||
usage() {
|
||||
echo "Usage: $0 [-r] -- commandline"
|
||||
@@ -115,3 +93,49 @@ awk "{$AWKCMD}" $FILE`expr $NUM + 1`;
|
||||
|
||||
# Remove all temporary files.
|
||||
rm -f $FILE*;
|
||||
|
||||
# ############################################################################
|
||||
# Documentation
|
||||
# ############################################################################
|
||||
:<<'DOCUMENTATION'
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
||||
pt-mext - Aggregate and summarize mysqladmin extended output.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
Usage: pt-mext [OPTION...]
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
pt-mext aggregates and summarizes mysqladmin extended output.
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
Baron Schwartz
|
||||
|
||||
=head1 COPYRIGHT, LICENSE, AND WARRANTY
|
||||
|
||||
This program is copyright 2010 Baron Schwartz, 2011 Percona Inc.
|
||||
Feedback and improvements are welcome.
|
||||
|
||||
THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation, version 2; OR the Perl Artistic License. On UNIX and similar
|
||||
systems, you can issue `man perlgpl' or `man perlartistic' to read these
|
||||
licenses.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
legal.pod (END)
|
||||
|
||||
=cut
|
||||
|
||||
DOCUMENTATION
|
||||
|
Reference in New Issue
Block a user