Commit Graph

44 Commits

Author SHA1 Message Date
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
c3724aedca Build percona-toolkit-2.1.1 2012-04-03 12:42:45 -07: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
761f8a5aac Merge more of Baron's changes, also re-implement the MySQL Executables section
Plus other bugfixes.
2012-03-30 23:00:57 -03:00
Brian Fraser fraserb@gmail.com
978b236985 Save the config file itself, not just its path. 2012-03-30 20:18:39 -03:00
baron
d44e8b539b clean up a couple of things causing tests to fail for me, and remove a feature that's not quite ready yet, and add another feature for innodb compression 2012-03-30 17:04:25 -04: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
baron@percona.com
6e9a483ee1 more slight doc tweaks 2012-03-30 15:46:14 -04:00
baron@percona.com
8e4d1fe005 docs and a few tweaks 2012-03-30 15:34:28 -04: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
3ee8f9ba71 Fixed the Table Cache bugs.
Also makes t/lib/bash/collect_system_info.sh actually call setup_commands.
2012-03-28 15:29:57 -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
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
Brian Fraser fraserb@gmail.com
55c7248c54 (more syncing) 2012-03-20 17:16:06 -03:00
Brian Fraser fraserb@gmail.com
31afeb73b5 (temp commit, syncing up) 2012-03-20 11:21:16 -03:00
Brian Fraser fraserb@gmail.com
3cfb1c0af7 pt-mysql-summary 2.0 2012-02-22 08:45:26 -03:00
Daniel Nichter
4d5d4da4b7 Build percona-toolkit-2.0.3 2012-02-03 16:25:29 -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
02812c068c Remove set -u from pt-mysql-summary and rm tmp dir last. 2012-02-02 08:46:31 -07:00
Daniel Nichter
bc87f679f5 Build percona-toolkit-2.0.2 2012-01-05 12:20:21 -07:00
Brian Fraser
d6b15f4916 bin/pt-mysql-summary: Enable set -u 2012-01-03 15:10:16 -03:00
Brian Fraser
0ca763c81b pt-mysql-summary: Use mktemp through the tmpdir package. 2012-01-03 14:52:57 -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
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
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
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