Commit Graph

137 Commits

Author SHA1 Message Date
Daniel Nichter
5a5fe75130 Merge pt-stalk-1019648. 2013-03-12 15:23:02 -06:00
Daniel Nichter
7f728acddd Move code to get InnoDB status into its own sub. 2013-03-12 15:08:25 -06:00
Daniel Nichter
e3346332e1 Merge pt-ms-pt-stalk-standard-mysql-options. 2013-03-09 11:57:41 -07:00
Brian Fraser
0efad73f3e Rearrange mysql options so that --defaults-file is always first, and remove default: localhost from pt-ms and pt-stalk, since parse_options.sh deals with defaults + config files for mysql options poorly 2013-03-06 12:52:17 -03:00
Brian Fraser
ebd83f5ba4 Minor fixes for compat 2013-03-05 11:32:21 -03:00
Daniel Nichter
f7f63555ee Add lib/bash/subshell.sh and use in pt-stalk to fix/improve subprocess waiting. 2013-03-04 17:47:02 -07:00
Fernando Ipar
177c2aaef7 Changed collect so that innodb status is read from tmp file if the original output is truncated 2013-03-04 17:40:41 -02:00
Brian Fraser
9e2ce2197f pt-ms & pt-stalk: Enable the standard mysql options 2013-02-25 11:21:46 -03:00
Daniel Nichter
26cc08d3d9 Fix default log level in log_warn_die.sh. 2013-01-24 11:39:23 -07:00
Daniel Nichter
b196f50e60 Test --verbose. Remove global default OPT_VERBOSE from log_warn_die.sh so tool's option can set it. 2013-01-24 11:13:39 -07:00
Daniel Nichter
11fa16382c Add --verbose to pt-stalk. Change _print() to ts() in log_warn_die.sh. 2013-01-24 09:36:57 -07:00
Daniel Nichter
98ced1a035 Make add info() log_warn_die.sh and make the subs respect OPT_VERBOSE. Add more test harness subs in util/test-bash-functions. 2013-01-24 09:17:19 -07:00
Brian Fraser fraserb@gmail.com
4eaf6e51f8 Merged experimental-fix-986847-pt-stalk-set-command 2012-12-05 21:15:20 -03:00
Brian Fraser fraserb@gmail.com
f8c7c7f2d4 Merged fix-1015590-pt-mysql-summary-percona-server-5.5 2012-12-05 21:10:22 -03:00
Brian Fraser
a5d1021367 Rename "Cluster" to "Cluster Name" and "Node" to "Node Name" 2012-12-04 13:26:34 -03:00
Brian Fraser
15855fb076 Change feat_on_renamed() per Daniel's feedback 2012-12-04 13:17:58 -03:00
Brian Fraser
ee607b1f25 Change the ordering in the PXC section 2012-12-04 00:39:34 -03:00
Brian Fraser
a3527f748c Fixed the Smooth Flushing report on 5.1, which was broken by the previous commit, and made it work on 5.5 2012-11-30 18:17:30 -03:00
Brian Fraser
ee41d4deb4 Introduce feat_on_renamed, a wrapper around feat_on for renamed variables 2012-11-29 22:32:22 -03:00
Brian Fraser
98707e937c pt-mysql-summary: Feedback from Fred & Jay; Display wsrep_slave_threads, and also parse & display pc.ignore_sb, pc.ignore_quorum, gcache.size, gcache.dir, gcache.name, all from wsrep_provider_options 2012-11-29 19:38:50 -03:00
Brian Fraser
ff3d496cf0 pt-mysql-summary: Make sure the Status Counters don't use scientific notation 2012-11-29 18:08:59 -03:00
Brian Fraser fraserb@gmail.com
d47b9f1f95 pt-mysql-summary: Start reporting some PXC info 2012-11-27 19:05:45 -03:00
Brian Fraser fraserb@gmail.com
f915e54a17 pt-mysql-summary: Make the "Executables" section work 2012-11-27 18:28:07 -03:00
Brian Fraser fraserb@gmail.com
bb75e6a6b7 pt-mysql-summary: Make the "Instances" section work if the instances were started with --defaults-file 2012-11-27 18:19:47 -03:00
Brian Fraser fraserb@gmail.com
84043cee75 parse_options.sh: Make sure that --help works under sh 2012-11-27 18:05:53 -03:00
Brian Fraser fraserb@gmail.com
22ec559b38 Fix for 986847: Allow setting which commands (and extra options) pt-stalk uses through env vars 2012-11-12 11:26:01 -03:00
Brian Fraser
227dfa6ea7 Fix for 1015590: pt-mysql-summary not Percona Server 5.5-ready 2012-11-02 00:21:48 -03:00
Daniel Nichter
b6072ab011 Only cat cnf file > mysql-config-file if it exists. 2012-10-24 12:43:26 -06:00
Daniel Nichter
aacdd9db17 Rewrite find_my_cnf_file() so if a port is given only that port's cnf is returned, else nothing. 2012-10-24 11:17:34 -06:00
Daniel Nichter
328b7f1e0e Merge fix-deleting-empty-files-bug-1047701 2012-10-13 14:15:37 -06:00
Daniel Nichter
d04529a64b Wait --run-time more for collector procs to finish, then kill them, then remove empty files. 2012-10-13 12:21:52 -06:00
Brian Fraser fraserb@gmail.com
df2278b95c Merged fix-903229-pt-mysql-summary-case-insensitivity-for-engines 2012-10-12 17:38:12 -03:00
Daniel Nichter
e1bd108aa4 Collect INNODB_TRX, INNODB_LOCKS, and INNODB_LOCK_WAITS. Fix update-module so it works again with Bash tools. 2012-08-30 15:40:09 -06:00
Brian Fraser
289035a303 Merged fix-1038995-bash-options-starting-with-no 2012-08-28 22:05:33 -03:00
Brian Fraser fraserb@gmail.com
acc7c0296b Merged fix-952722-pt-summary-fio-cards 2012-08-27 15:37:43 -03:00
Brian Fraser fraserb@gmail.com
548e01fddd Fix for 903229: pt-mysql-summary incorrectly categorizes databases 2012-08-24 20:18:36 -03:00
Brian Fraser
d53fadff74 Merged quote-tr-arguments 2012-08-24 20:02:48 -03:00
Brian Fraser
ed7b497590 Report Rated PBW for fio cards 2012-08-24 19:39:58 -03:00
Brian Fraser
878528b859 Fixed report_fio_minus_a and fio_status_minus_a to handle ioMemory and report internal temp, also fixed some bugs 2012-08-24 18:23:30 -03:00
Brian Fraser
24ae24a64e Fix for 952722: pt-summary to show information about Fusion-io cards 2012-08-24 17:01:47 -03:00
Brian Fraser fraserb@gmail.com
c2b006eeaf Fix for 1038995: pt-stalk notify-by-email fails 2012-08-20 19:22:31 -03:00
Daniel Nichter
3602bb252f Use non-Bashism indirect reference in parse_options. Change $@ to ${@:-} and update parse_options in all tools. 2012-08-14 11:46:47 -06:00
Daniel Nichter
9ddf90eeca Use ${@:-""} rather than $@, prevents error on ksh when no opts given. Remove set +u to see if it is no longer needed. 2012-08-14 11:07:10 -06:00
Daniel Nichter
b5ba79bb6d Collect df -k instead of df -h. Set log_error with abs path to fix failing t/lib/bash/collect.t test. 2012-08-14 09:11:41 -06:00
Brian Fraser fraserb@gmail.com
7f9f84a6d0 shell tools: Quote the arguments to tr 2012-08-13 12:23:18 -03:00
Brian Fraser fraserb@gmail.com
3b1f3dbbe5 Fix for 977226: pt-summary doesn't detect LSI RAID control. Patch provided by Dave Juntgen (djuntgen) 2012-07-30 12:36:55 -03:00
Daniel Nichter
487d14228b Handle --nofoo like --no-foo in parse_options.sh and update the Bash tools. 2012-07-21 11:57:53 -06:00
Daniel Nichter
e1b39b3d5f Use TRUE/FALSE for typeless option values in --help. Update parse_options.sh lib in Bash tools. 2012-07-21 11:40:39 -06:00
Brian Fraser fraserb@gmail.com
bc8f5a610c Change TMPDIR to PT_TMPDIR 2012-06-11 17:51:43 -03:00
Daniel Nichter
bf2a769536 Export TMPDIR to make tmpdir.t pass. 2012-06-11 13:28:14 -07:00