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
Brian Fraser fraserb@gmail.com
07081d5761
tmpdir.sh: Use the -t flag for mktemp
2012-06-11 17:07:38 -03:00
Brian Fraser fraserb@gmail.com
865b3e4e9d
collect_system_info shouldn't assume that sysctl is available.
...
It isn't on CentOS 5.5. It didn't really assume that it
was always there, but rather than the produced samples file
would be.
2012-06-04 11:57:44 -03:00
Baron Schwartz
48f642551e
fix some problems that happen when there are many mysqld instances
2012-06-03 20:53:57 -04:00
Daniel Nichter
696a3b5e68
Fix mem/file size shortening in pt-summary and pt-mysql-summary.
2012-06-03 14:49:35 -07:00
Daniel Nichter
d46285342a
Use 6 X with mktemp to make it work on some platforms and update all tools.
2012-05-16 11:38:48 -06:00
Daniel Nichter
cc80f278d5
Code comment why MiB, GiB, etc. are used in shorten() and update that func in pt-summary and pt-mysql-summary.
2012-05-07 16:38:30 -06:00
Daniel Nichter
fdfd305dc5
Simplify and fix report_formatting::shorten(), and add Petabyte unit (in case it's needed). Update affected test samples. Add T_DIR to util/test-bash-functions.
2012-05-07 12:16:24 -06:00
Daniel Nichter
0286631514
Merge summary-tools-2.1.
2012-04-03 10:14:55 -06:00
Brian Fraser fraserb@gmail.com
a01de98434
Fix for a bug in 32-bit Debian.
...
Namely, awk's printf("%d") doing what it's supposed to do, cast
it's operand to (int), which screws up large numbers.
The fix is simple, although it mostly just pushes the problem
under the rug; using %.0f instead of %d.
2012-04-03 12:50:12 -03:00
Brian Fraser fraserb@gmail.com
b807088b8e
Other instances of the substr(var, 0, n) bug
2012-04-03 11:29:36 -03:00
Brian Fraser fraserb@gmail.com
cfcef354b0
section(): Less printf, more awk
2012-04-03 11:07:30 -03:00
Brian Fraser fraserb@gmail.com
12bd26022a
Fix a section() bug.
...
Turns out that awk's indexes are documented to start from 1;
So what happens if you use 0? Apparently it's undefined behavior, so
substr(var, 0, 5);
and
substr(var, 1, 5);
May or may not actually do the same thing. In Debian 6, the former
doesn't quite work, and actually returns something like substr(var, 1, 4),
which broke section()'s output.
2012-04-03 10:55:51 -03:00