Brian Fraser
05fec15473
Fixes as per Baron's review.
2012-01-17 11:40:01 -03:00
Brian Fraser
d01d838b64
Several changes as per Baron & Daniel's mails.
...
Most importantly, it replaces --zero-rows with --show-inactive, and
changes the default logic used to decide when to print a device.
2012-01-16 09:37:53 -03:00
Daniel Nichter
87d12c9802
Don't warn about invalid lines, just debug them. Anchor TS pattern. Unset --sample-time unless --group-by sample.
2012-01-12 14:26:31 -07:00
Daniel Nichter
9404ff84ef
Rewrite pt-diskstats.t but all tests need to be fixed. Update modules in pt-diskstats, use PTDEBUG, check regex opts. Remove output_fh from Diskstats. Fix DiskstatsMenu header so update-modules can see it.
2012-01-12 12:06:50 -07:00
Daniel Nichter
8d70a272fe
Simplify parse_diskstats_line() and _calc_delta_for(). Use UPPERCASE for constants. Don't save unused values in dev stats array. Use actual values from an OptionParser/pt-diskstats.
2012-01-12 10:09:40 -07:00
Brian Fraser
5098d33372
Updated tool based on the previous commits.
2012-01-10 10:55:16 -03:00
Brian Fraser
93271379d8
Tool updated based on the previous commit.
2011-12-22 19:32:51 -03:00
Brian Fraser
d3ef9edaaa
Several corrections as per Daniel and Baron's feedback.
...
Still TODO: Attributes still have a single method that doubles
as a getter and setter. The constructor for Diskstats is still
weird -- A tad more stricter than it should be, if anything.
->print_rest is still rest, even though that's hardly
memorable, mostly because of a lack of ideas on what to
rename it. The main loop in the Menu is still a while (1).
As a nice perk, it's nearly twice as fast now! It also adds a
_very_ experimental --memory-for-speed argument, which
turns on memoization for the current biggest bottleneck.
2011-12-22 19:24:56 -03:00
Brian Fraser
467254aca3
Fixes to the Menu; additionally, changed the accepted format for samples.
...
Also made it hide rows that are all zeroes by default, as per the
blueprint.
2011-12-20 12:53:35 -03:00
Brian Fraser
13c9c5b0bb
Added the actual pt-diskstats tool.
...
Missing a doc overhaul and tests, but this deals with most of the
feature upgrades in the blueprint.
The shell version of pt-diskstats is now in bin has pt-diskstats-shell,
in case that's needed.
2011-12-16 13:40:22 -03:00
Daniel Nichter
26a42a24d5
Add back --quiet and test pt-trend.
2011-11-14 09:23:47 -07:00
Daniel Nichter
2f9ab4081a
Fix prepared report for statements without corresponding prep or exec.
2011-11-08 12:53:50 -07:00
Daniel Nichter
1904542c4b
Check that pt-collect exists before starting.
2011-11-04 11:29:26 -06:00
Daniel Nichter
ebe28781e2
Get tools from http://www.percona.com/get/ so curl works.
2011-11-04 10:44:10 -06:00
Daniel Nichter
aa1b0802a2
Use $PR_mext instead of pt-mext.
2011-11-04 10:22:34 -06:00
Daniel Nichter
cd5611b8b3
Change mext to pt-mext.
2011-11-04 10:15:20 -06:00
Daniel Nichter
7da33234f5
Fix bug 821717: pt-tcp-model --type=requests crashes.
2011-10-11 08:31:42 -06:00
Daniel Nichter
43aebffad1
Build percona-toolkit-1.0.1
2011-09-01 10:00:38 -06:00
Daniel Nichter
cdd5be4565
Update OptionParser in all tools.
2011-09-01 09:04:24 -06:00
Daniel Nichter
3a111182eb
Fix pt-sift to fetch and eval programs correctly. Lists these programs in the sys reqs pod section.
2011-08-31 11:28:01 -06:00
Daniel Nichter
25d47f2644
Quote > to make test not file.
2011-08-31 11:16:42 -06:00
Daniel Nichter
70a7a62c1f
Use default values for disk pct full and mb free.
2011-08-31 10:31:46 -06:00
Daniel Nichter
52ef2062e6
Changelog for 1.0.1. Use simplest version string in all tools.
2011-08-31 08:19:18 -06:00
Daniel Nichter
c58bb85773
Pass --where to calculate_chunks().
2011-08-27 11:41:58 -06:00
Daniel Nichter
3c6edf6d71
Update TableChunker in pt-table-checksum. Include COUNT in test samples.
2011-08-27 11:26:00 -06:00
Daniel Nichter
2e0f607589
Pass --where to get_range_statistics().
2011-08-27 09:23:36 -06:00
Daniel Nichter
4715afc7c0
Update MasterSlave.pm in all tools.
2011-08-23 08:31:04 -06:00
Daniel Nichter
8e31dcc6cd
Fix typos in pt-summary tests from r85.
2011-08-19 11:20:40 -06:00
Daniel Nichter
94e6b7a5e8
Combine and update all pt-summary tests to new format.
2011-08-19 10:46:55 -06:00
Daniel Nichter
d50c1699cd
Pass mysql opts to mysqldump first.
2011-08-18 11:52:44 -06:00
Daniel Nichter
b328525a32
Combine and update the remaining pt-mysql-summary tests to new format. Fix pt-mysql-summary: always pass mysql opts first.
2011-08-18 11:46:13 -06:00
Daniel Nichter
164176c149
Combine and update some pt-mysql-summary tests to new format. Add is() to test-bash-functions.
2011-08-18 10:17:20 -06:00
Daniel Nichter
c6841f60ee
Combine and change all pt-pmp tests to new format.
2011-08-18 09:26:12 -06:00
Daniel Nichter
b21578a86f
Combine and change all pt-diskstats test to new format. Use generic .t for bash tools. Number tests in each test file and use as default test name.
2011-08-18 09:02:46 -06:00
Daniel Nichter
918c4c4bb2
Replace test-bash-tool with test-bash-functions. Begin revamping the Bash tests.
2011-08-17 12:14:06 -06:00
Daniel Nichter
c7154acff1
Update OptionParser in all tools.
2011-08-12 09:05:46 -06:00
Daniel Nichter
f23ca1af89
Fix and test --version. Add CHECK to update-modules.
2011-08-12 09:03:56 -06:00
Daniel Nichter
242e00ece7
Call pt-collect correctly.
2011-08-11 16:26:21 -06:00
Daniel Nichter
e36111af3e
Change 'sift' to 'pt-sift'.
2011-08-11 16:22:47 -06:00
Daniel Nichter
a29934bc32
Fix pt-online-schema-change docu.
2011-08-09 10:44:44 -06:00
Daniel Nichter
6dd2116d81
Remove pt-checksum-filter, pt-query-profiler, and pt-profile-compact.
2011-08-05 15:32:28 -06:00
Daniel Nichter
ff4fa81854
Build percona-toolkit-0.9.5
2011-08-04 14:35:38 -06:00
Daniel Nichter
ac34d09b17
Add check_pod_links to check-tool and fix tools that have POD links in literal blocks.
2011-08-04 09:22:50 -06:00
Daniel Nichter
2a22fa0fcb
Complete user docs.
2011-08-03 17:17:46 -06:00
Daniel Nichter
5ca914b932
Remove pt-align and pt-rel. Update/clarify docu in some tools.
2011-08-03 11:53:12 -06:00
Daniel Nichter
f71eaa037a
Add RISKS section to Bash tools. Re-order all tools' DOWNLOADING section. Remove some unused options.
2011-08-02 17:26:13 -06:00
Daniel Nichter
747d63a6d3
Tweak, fix, and add tests so every tool passes.
2011-08-02 16:38:03 -06:00
Daniel Nichter
6a2e392513
Remove --save-results from pt-query-digest. Make check-tool work with Bash tools where possible.
2011-08-02 15:10:44 -06:00
Daniel Nichter
56b099d7de
Rename aspersa tmp files.
2011-07-22 17:08:53 -06:00
Daniel Nichter
be739c7c72
Remove pt-usl.
2011-07-22 16:05:14 -06:00