Commit Graph

309 Commits

Author SHA1 Message Date
Brian Fraser
289035a303 Merged fix-1038995-bash-options-starting-with-no 2012-08-28 22:05:33 -03:00
Brian Fraser fraserb@gmail.com
3b539f8bea Merged fix-942114-bad-find-usage 2012-08-27 13:12:20 -03:00
Daniel Nichter
f7ae075720 Document gdb and other requirements in pt-pmp and pt-stalk. 2012-08-25 12:18:12 -06:00
Brian Fraser
d53fadff74 Merged quote-tr-arguments 2012-08-24 20:02:48 -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
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
fdcbbb63fc Bug 942114: bad "find" usage in pt-stalk 2012-08-13 12:39:28 -03:00
Brian Fraser fraserb@gmail.com
7f9f84a6d0 shell tools: Quote the arguments to tr 2012-08-13 12:23:18 -03:00
Daniel Nichter
f8c375a249 Build percona-toolkit-2.1.3 2012-08-03 19:41:41 +01: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
Daniel Nichter
6d71b91bfe Build percona-toolkit-2.1.2 2012-06-12 07:06:39 -07:00
Brian Fraser fraserb@gmail.com
bc8f5a610c Change TMPDIR to PT_TMPDIR 2012-06-11 17:51:43 -03:00
Brian Fraser fraserb@gmail.com
9e677a7826 Updated all modules that use tmpdir.sh 2012-06-11 17:10:40 -03:00
Baron Schwartz
47fb3d65e8 Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage. 2012-06-09 14:43:33 -04: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
fd738b1e44 Set cycles_true=0 after collecting. 2012-05-15 13:10:24 -06:00
Daniel Nichter
c3724aedca Build percona-toolkit-2.1.1 2012-04-03 12:42:45 -07:00
Daniel Nichter
94d9483d03 Make vmstat, iostat, and mpstat run for --run-time not --interval. 2012-03-30 11:35:32 -06:00
Daniel Nichter
f4c978c957 Build percona-toolkit-2.0.4 2012-03-07 15:41:54 -08:00
Daniel Nichter
afd0b2a713 Merge lp:~percona-toolkit-dev/percona-toolkit/collect-without-stalking. 2012-03-02 08:16:55 -08:00
Daniel Nichter
cf910bc400 Update safeguards lib in pt-stalk re bug 940503. 2012-03-02 08:07:29 -08:00
Daniel Nichter
cd17a20119 Add and test --[no]stalk to pt-stalk. Fix ps in pt-stalk tests. Add PerconaTest::wait_for_sh(). 2012-02-16 13:32:46 -07:00
Daniel Nichter
c98c352b7d Fix typo in pt-stalk docu. Add check for this to util/check-tool and fix other tools. 2012-02-16 11:55:44 -07:00
Daniel Nichter
4d5d4da4b7 Build percona-toolkit-2.0.3 2012-02-03 16:25:29 -07:00
Daniel Nichter
0ac6c35211 Fix _pidof() calls in collect.sh. Update Bash libs in pt-ioprofile. 2012-02-03 10:49:27 -07:00
Daniel Nichter
1a1bf2bcd5 Update safeguards.sh in pt-stalk. 2012-02-02 12:17:33 -07:00
Daniel Nichter
7be99c5140 Add _which() to alt_cmds.sh and update pt-stalk. 2012-02-02 12:04:28 -07:00
Daniel Nichter
c40e5db1bf Fix lib tests for MySQL 5.0. 2012-02-02 10:56:55 -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
4e69f68fc8 Quote vars in trg_processlist(). 2012-02-01 10:10:08 -07:00
Daniel Nichter
a488043774 Check for mysql after parsing options so --help works even if mysql isn't in PATH. 2012-01-31 13:25:20 -07:00
Daniel Nichter
6205505263 Don't use basename and quote $dir in tmpdir.sh. 2012-01-31 10:20:37 -07:00
baron@percona.com
37df5da4d6 doc tweaks 2012-01-31 12:01:32 -05:00
Daniel Nichter
afd0bf8982 rm -rf the oprofile dirs. 2012-01-31 09:16:18 -07:00
Daniel Nichter
be8c0e6e18 Fix parsing opts from config file with leading and trailing space. 2012-01-30 11:15:28 -07:00
Daniel Nichter
89242d9fde Don't init a global with a global. 2012-01-30 10:20:31 -07:00
Daniel Nichter
caa91f39fa Log collector PID. 2012-01-30 10:05:35 -07:00
Daniel Nichter
ae558c6442 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-stalk-2.0-docs r157. 2012-01-30 09:29:39 -07:00
Daniel Nichter
8389da4c07 Use . instead of source. Quote func file. Verify --function. Add option_error() to parse_options.sh. Update libs in pt-stalk. 2012-01-30 09:22:25 -07:00
Daniel Nichter
e954505dd2 Don't print errors in data files; let the general -output file catch them. Print TS lines before data. Try to find sysctl manually. Add _pidof() to alt_cmds.sh. 2012-01-27 17:37:59 -07:00
baron@percona.com
950a386a72 small docs tweaks 2012-01-26 16:07:02 -05:00
Daniel Nichter
81ae556f8b Use local IFS. 2012-01-26 13:04:23 -07:00
Daniel Nichter
6b017da6fe Use new pretty --help. 2012-01-26 12:59:48 -07:00
Daniel Nichter
05ac0be136 Change --disk-byte-limit to --disk-bytes-free and --disk-pct-limit to --disk-pct-free. 2012-01-26 12:45:44 -07:00
Daniel Nichter
73bc7cdcf8 Change default --dest to /var/lib/pt-stalk. Don't check --dest unless --collect. Fix POD formatting for --function. 2012-01-24 14:22:19 -07:00
Daniel Nichter
77e5e4c3f2 Simpler test for +w access to --log. 2012-01-24 13:24:07 -07:00
Daniel Nichter
b47679cf97 Implement --[no]collect. 2012-01-24 13:20:07 -07:00
Daniel Nichter
c2fd3f54c2 Use "yes" for true, "" for false. Use $PO_DIR instead of $TMP_DIR/po. Add and test Baron's code for 'Options and values after processing arguments'. Make --help exit 0 unless there were errors. 2012-01-24 12:49:18 -07:00