baron@percona.com
b837a0ca7e
merge Brian's doc changes
2012-02-02 08:42:42 -05:00
baron@percona.com
13bf6c7f8f
tweaks to docs, targeting the desired behavior that isn't there yet
2012-02-02 08:36:32 -05:00
Brian Fraser
b0f7bc4fc6
Tweaks requested by Baron, plus fixes.
...
Tweaks:
* --headers command line option, which can be used to
enable/disable the automatic headers, and the
automatic empty lines between samples.
* --show-timestamps, which changes the #ts line with
a timestamp in the HH:MM:SS format.
* Always use ReadKeyMini, even when we have Term::ReadKey.
In the latter case, use the Term::ReadKey functions,
but if they fail, try again with our own versions.
Fix:
Looks like I forgot to actually enable the "save the current, first
and last" samples. This is now on. It should mean faster and better
output when changing --group-by modes.
2012-02-01 19:12:03 -03:00
baron@percona.com
e0d358fce1
documentation updates
2012-02-01 11:41:39 -05:00
Brian Fraser
7c4c186978
Change how Diskstats waits for its first handful of samples.
...
This fixes two bugs -- One a rounding error, one a desyncronization
between the main program and the data gathering daemon.
Additionally, it changes how the daemon prints the very first
sample. Before it would unconditionally wait until the time was
%$sample-time, which meant that in a worst case scenario,
a user could be left waiting for a while before seeing a line
of output.
This commit changes that first wait to only sleep if less
than 20% away from %$sample-time.
2012-02-01 12:14:09 -03:00
Brian Fraser
3de8aa530b
More fixes as per Baron's review.
2012-01-31 22:44:00 -03:00
Brian Fraser
940b8d6bab
Merge from Baron's doc branch
2012-01-31 13:47:09 -03:00
Brian Fraser
73c1e466d7
Several fixes & changes:
...
* qtime and stime computed correctly
* Interactive mode and changing groups doesn't fail
* Interactive mode no longer uses a file to gather samples.
2012-01-30 17:44:18 -03:00
baron@percona.com
5acec0d38e
initial documentation
2012-01-25 16:11:09 -05:00
Brian Fraser
ad552756b2
Automatic headers & improvements.
2012-01-18 19:01:19 -03:00
Brian Fraser
5b43ed0d5e
More changes as per Baron's review.
...
Tries to implement a facsimile to http://www.xaprb.com/blog/2011/03/18/how-to-gather-statistics-at-regular-intervals/
For both sampling and rendering.
2012-01-18 05:19:48 -03:00
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
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
43aebffad1
Build percona-toolkit-1.0.1
2011-09-01 10:00:38 -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
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
ff4fa81854
Build percona-toolkit-0.9.5
2011-08-04 14:35:38 -06:00
Daniel Nichter
2a22fa0fcb
Complete user docs.
2011-08-03 17:17:46 -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
d0580626a8
Copy and format for POD docu from Aspersa User's Manual to forked Aspersa tools.
2011-07-22 12:35:18 -06:00
Daniel Nichter
827bed1b3e
Update DOWNLOADING section in all tools. Update replace-text usage.
2011-07-20 11:35:53 -06:00
Daniel Nichter
48cf39930b
Combine check-* scripts into super check-tool script. Add check-spelling, check-dev-env, and docs/test-coverage directory.
2011-07-14 17:49:32 -06:00
Daniel Nichter
39ea018581
Finish re-branding tools. Remove pt-schema-advisor.
2011-07-12 16:36:36 -06:00
Daniel Nichter
4559e55153
Replace $TOOL with tool name.
2011-07-11 16:58:56 -06:00
Daniel Nichter
aa318cb93f
Re-brand standard POD sections (DOWNLOADING, ENVIRONMENT, etc). Change ABOUT MAATKIT to ABOUT PERCONA TOOLKIT.
2011-07-11 16:56:02 -06:00
Daniel Nichter
89f97d6099
Remove duplicate copyright notices. Add POD and copyright for Aspersa tools. Fix checking for "pt-pmp" instead of "pmp", etc.
2011-07-11 11:57:53 -06:00
Daniel Nichter
a9e002cc5a
Add Aspersa tools, their tests, and util/test-bash-tool.
...
Update and simplify copyright notices.
2011-07-01 10:29:50 -06:00