From 848e70f55a4dbd02d97c8cbafbeb3d1903da872d Mon Sep 17 00:00:00 2001 From: Jan Ingvoldstad Date: Thu, 27 Aug 2015 11:13:44 +0200 Subject: [PATCH 1/8] Minor typo fixed in usage() --- mysqltuner.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 3cfa1cc..b8ae1d2 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -618,7 +618,7 @@ sub usage { . " --buffers Print global and per-thread buffer values\n" . " --outputfile Path to a output txt file\n" . "\n" . " --reportfile Path to a report txt file\n" . "\n" - . " --tempalte Path to a template file\n" . "\n"; + . " --template Path to a template file\n" . "\n"; exit 0; } @@ -3549,4 +3549,4 @@ along with this program. If not, see . # indent-tabs-mode: t # cperl-indent-level: 8 # perl-indent-level: 8 -# End: \ No newline at end of file +# End: From a6a2cb3b85826b448a177367ad73311409a03566 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 27 Aug 2015 12:05:45 +0200 Subject: [PATCH 2/8] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 0555f45..f148d67 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,30 @@ You can download the entire repository by using 'git clone' followed by the clon Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling perl directly. +Specific usage +-- + +* Minimal usage locally + perl mysqltuner.pl + +* Minimal usage remotely + perl mysqltuner.pl --host targetDNS_IP --user admin_user --password admin_password + +* Enable maximum output information around MySQL/MariaDb without debugging + perl mysqltuner.pl --buffers --dbstat --idxstat + +* Write your result in a file with information displayed + perl mysqltuner.pl --outputfile /tmp/result_mysqltuner.txt + +* Write your result in a file **without outputting information** + perl mysqltuner.pl --silent --outputfile /tmp/result_mysqltuner.txt + +* Using template model to customize your reporting file based on [Text::Template](https://metacpan.org/pod/Text::Template) syntax. + perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl + +* Enable debugging information + perl mysqltuner.pl --debug + FAQ -- From 6cd9b26bf89d77c979d70f513845f4db61d8814e Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 27 Aug 2015 12:06:40 +0200 Subject: [PATCH 3/8] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index f148d67..c5e890e 100644 --- a/README.md +++ b/README.md @@ -49,24 +49,31 @@ Specific usage -- * Minimal usage locally + perl mysqltuner.pl * Minimal usage remotely + perl mysqltuner.pl --host targetDNS_IP --user admin_user --password admin_password * Enable maximum output information around MySQL/MariaDb without debugging + perl mysqltuner.pl --buffers --dbstat --idxstat * Write your result in a file with information displayed + perl mysqltuner.pl --outputfile /tmp/result_mysqltuner.txt * Write your result in a file **without outputting information** + perl mysqltuner.pl --silent --outputfile /tmp/result_mysqltuner.txt * Using template model to customize your reporting file based on [Text::Template](https://metacpan.org/pod/Text::Template) syntax. + perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl * Enable debugging information + perl mysqltuner.pl --debug FAQ From 51d2c20ca5a95a906ca05518032bd74939174a16 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 27 Aug 2015 12:07:48 +0200 Subject: [PATCH 4/8] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c5e890e..03ad28c 100644 --- a/README.md +++ b/README.md @@ -48,31 +48,31 @@ Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can exe Specific usage -- -* Minimal usage locally +Usage: Minimal usage locally perl mysqltuner.pl -* Minimal usage remotely +Usage: Minimal usage remotely perl mysqltuner.pl --host targetDNS_IP --user admin_user --password admin_password -* Enable maximum output information around MySQL/MariaDb without debugging +Usage: Enable maximum output information around MySQL/MariaDb without debugging perl mysqltuner.pl --buffers --dbstat --idxstat -* Write your result in a file with information displayed +Usage: Write your result in a file with information displayed perl mysqltuner.pl --outputfile /tmp/result_mysqltuner.txt -* Write your result in a file **without outputting information** +Usage: Write your result in a file **without outputting information** perl mysqltuner.pl --silent --outputfile /tmp/result_mysqltuner.txt -* Using template model to customize your reporting file based on [Text::Template](https://metacpan.org/pod/Text::Template) syntax. +Usage: Using template model to customize your reporting file based on [Text::Template](https://metacpan.org/pod/Text::Template) syntax. perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl -* Enable debugging information +Usage: Enable debugging information perl mysqltuner.pl --debug From b6369e351b1ff79b2cf094684813b3b31468f40d Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 27 Aug 2015 12:08:47 +0200 Subject: [PATCH 5/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 03ad28c..19beadf 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can exe Specific usage -- -Usage: Minimal usage locally +_Usage:_ Minimal usage locally perl mysqltuner.pl From c1acbe4d13ff761efbb441ff5ae1f8e9279bd2c8 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 27 Aug 2015 12:09:09 +0200 Subject: [PATCH 6/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 19beadf..c417fc4 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can exe Specific usage -- -_Usage:_ Minimal usage locally +__Usage:__ Minimal usage locally perl mysqltuner.pl From 3b56aabf324fbf53b525074b96e5aa1262aee87b Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 27 Aug 2015 12:09:53 +0200 Subject: [PATCH 7/8] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c417fc4..13927f8 100644 --- a/README.md +++ b/README.md @@ -52,27 +52,27 @@ __Usage:__ Minimal usage locally perl mysqltuner.pl -Usage: Minimal usage remotely +__Usage:__ Minimal usage remotely perl mysqltuner.pl --host targetDNS_IP --user admin_user --password admin_password -Usage: Enable maximum output information around MySQL/MariaDb without debugging +__Usage:__ Enable maximum output information around MySQL/MariaDb without debugging perl mysqltuner.pl --buffers --dbstat --idxstat -Usage: Write your result in a file with information displayed +__Usage:__ Write your result in a file with information displayed perl mysqltuner.pl --outputfile /tmp/result_mysqltuner.txt -Usage: Write your result in a file **without outputting information** +__Usage:__ Write your result in a file **without outputting information** perl mysqltuner.pl --silent --outputfile /tmp/result_mysqltuner.txt -Usage: Using template model to customize your reporting file based on [Text::Template](https://metacpan.org/pod/Text::Template) syntax. +__Usage:__ Using template model to customize your reporting file based on [Text::Template](https://metacpan.org/pod/Text::Template) syntax. perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl -Usage: Enable debugging information +__Usage:__ Enable debugging information perl mysqltuner.pl --debug From 55e5b38a1fe72fcd2bc2577ee0b198a2cd8f40bb Mon Sep 17 00:00:00 2001 From: Jason Scalia Date: Sun, 30 Aug 2015 17:24:39 -0400 Subject: [PATCH 8/8] Correct typo regarding Perl License (iteself -> itself) --- mysqltuner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index b8ae1d2..1d19c90 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -45,7 +45,7 @@ # # Copyright 2013 M. J. Dominus. # You may copy and distribute this program under the -# same terms as Perl iteself. +# same terms as Perl itself. # If in doubt, write to mjd-perl-template+@plover.com for a license. # # Version 1.46