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
dcfbb6f8fd
Update authors for pt-*-summary.
2012-05-07 16:58:57 -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
c3724aedca
Build percona-toolkit-2.1.1
2012-04-03 12:42:45 -07: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
Brian Fraser fraserb@gmail.com
c0dedd19bf
- section() revamp
...
- Redirect STDERR for the collection part in both tools
- rm_tempdir in sigtrap
- A part of pt-mysql-summary still depended on the system being run,
rather than the samples being read. Now it works properly.
2012-04-02 19:25:17 -03:00
Brian Fraser fraserb@gmail.com
6dbbd6de3b
The previous merge went a bit wrong, and left the libraries unsynced with the tools; This commit fixes it.
2012-04-02 13:36:17 -03:00
Brian Fraser fraserb@gmail.com
af5d9d7e90
Merged Baron's changes
2012-03-30 17:28:53 -03:00
Brian Fraser fraserb@gmail.com
562a550a39
Fixes
2012-03-30 17:23:55 -03:00
Brian Fraser fraserb@gmail.com
33a4096663
Fix CPU_ARCH collection for Linux
2012-03-30 13:44:21 -03:00
baron@percona.com
45b66a4e1a
merge upstream
2012-03-29 21:47:58 -04:00
baron@percona.com
3f668362e7
fix a few bugs
2012-03-29 21:39:31 -04:00
baron@percona.com
f707656dee
docs; small quoting fix
2012-03-29 21:26:22 -04:00
Brian Fraser fraserb@gmail.com
f8113b4676
A parse_ethtools() that actually works
2012-03-29 19:44:51 -03:00
Brian Fraser fraserb@gmail.com
996a76a68e
pt-summary shouldn't leave empty files; both summary tools should
...
die if passed a --save-samples directory that has files in it.
2012-03-29 19:21:32 -03:00
Brian Fraser fraserb@gmail.com
4bb5968c23
More fixes as per the reviews.
...
- Took out ${prefix}-
- get_var sanity
- pt-mysql-summary now follows pt-summary's suit and doesn't take
in files to write to
- pt-summary defers setting the CMD_FOO vars to a function, as
otherwise it would skip our PATH mungling.
2012-03-28 13:04:14 -03:00
Brian Fraser fraserb@gmail.com
ae6c1e3789
More fixes:
...
- pt-mysql-summary's --read-samples shouldn't need an active connection
- Bunch of pt-summary bugs, particularly several relating to disks.
2012-03-27 12:53:31 -03:00
Brian Fraser fraserb@gmail.com
64b52c9399
chmod +x pt-summary
2012-03-27 10:54:12 -03:00
Brian Fraser fraserb@gmail.com
0e4fa22d18
*-summary tools: Changes from the reviews. Tests for pt-mysql-summary not finished yet
2012-03-27 06:19:37 -03:00
Brian Fraser fraserb@gmail.com
3ffda5677b
pt-summary for 2.1, also changes to pt-mysql-summary from Daniel's review
2012-03-24 14:20:09 -03:00
Daniel Nichter
f4c978c957
Build percona-toolkit-2.0.4
2012-03-07 15:41:54 -08:00
Daniel Nichter
4d5d4da4b7
Build percona-toolkit-2.0.3
2012-02-03 16:25:29 -07:00
Daniel Nichter
23f1716f39
Remove set -x from pt-summary and pt-ioprofile. Update libs in pt-ioprofile.
2012-02-02 13:47:51 -07:00
Daniel Nichter
85fdb732c8
Merge lp:~percona-toolkit-dev/percona-toolkit/pt-stalk-2.0 and, previously merged into that, lp:~percona-toolkit-dev/percona-toolkit/use-mktemp-871438.
2012-02-02 09:38:11 -07:00
Daniel Nichter
bc87f679f5
Build percona-toolkit-2.0.2
2012-01-05 12:20:21 -07:00
Brian Fraser
96aabd2999
bin/pt-summary: Enable set -u
2012-01-03 15:01:09 -03:00
Brian Fraser
9facff62af
pt-summary: Use mktemp through the tmpdir package.
2012-01-03 14:54:38 -03:00
Daniel Nichter
4d473afe6d
Build percona-toolkit-2.0.1
2011-12-30 15:44:29 -07: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
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
918c4c4bb2
Replace test-bash-tool with test-bash-functions. Begin revamping the Bash tests.
2011-08-17 12:14:06 -06:00
Daniel Nichter
ff4fa81854
Build percona-toolkit-0.9.5
2011-08-04 14:35:38 -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
56b099d7de
Rename aspersa tmp files.
2011-07-22 17:08:53 -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