Commit Graph

104 Commits

Author SHA1 Message Date
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
Daniel Nichter 36c14f492a Don't use grep -q. 2012-01-24 12:15:29 -07:00
Daniel Nichter c965d7c172 Fix POD syntax error. 2012-01-24 12:07:42 -07:00
Daniel Nichter fa6a6cb8ff Merge lp:~percona-toolkit-dev/percona-toolkit/pt-stalk-2.0-docs r155. 2012-01-24 12:01:47 -07:00
Daniel Nichter 3c97ae27d1 Add and test --config to pt-stalk. 2012-01-24 11:50:48 -07:00
Daniel Nichter cab3bb6eab Update parse_options.sh in pt-stalk. 2012-01-23 10:54:43 -07:00
baron@percona.com b13ff30bb7 finish docs 2012-01-21 11:19:50 -05:00
baron@percona.com 63ea85e755 docs 2012-01-21 09:15:45 -05:00
Daniel Nichter 51b93a6235 Fix --help description interpolation. 2012-01-19 12:20:33 -07:00
Daniel Nichter ba4b4f3059 Log how pt-stalk was ran. Update modules in tool. Tweak 'Starting' and 'Exiting' log lines. 2012-01-19 11:51:24 -07:00
Daniel Nichter 6e2b670af6 Die if --log, --pid, or --dest aren't accessible. Also die if po dir isn't accessible. 2012-01-17 13:12:08 -07:00
Daniel Nichter b2bac5c765 Quote in tmpdir.sh and fix typo in doc. 2012-01-17 12:15:49 -07:00
Daniel Nichter 894c492c6d Update Bash libs. Quote stuff in tool's code. Remove flock. 2012-01-13 10:23:45 -07:00
Daniel Nichter 650641b052 Check --pid even if not --daemonize. 2011-12-19 13:44:40 -07:00
Daniel Nichter 482875e330 Don't rm po before --help output. 2011-12-19 12:59:38 -07:00
Daniel Nichter c380d8c348 Merge lp:~daniel-nichter/percona-toolkit/bash-tool-libs r136. 2011-12-19 12:55:41 -07:00
Daniel Nichter 5fc8ea1f70 Merge Merge lp:~daniel-nichter/percona-toolkit/bash-tool-libs r135. 2011-12-19 12:53:09 -07:00
Daniel Nichter 0a88c57bf9 Merge lp:~daniel-nichter/percona-toolkit/bash-tool-libs r134. 2011-12-19 11:31:00 -07:00
Daniel Nichter 5ce6fba919 Do not daemonize by default. 2011-12-19 11:10:02 -07:00
Daniel Nichter f684641d43 Merge lp:~daniel-nichter/percona-toolkit/bash-tool-libs r133. 2011-12-19 10:50:31 -07:00
Daniel Nichter 09467de2b3 Remove --execute-command. 2011-12-15 14:31:23 -07:00
Daniel Nichter 78603f5d03 Test pt-stalk. Fix disk space+margin check. Fix checking --iterations. Add EXIT_REASON. Fix grepping status var. 2011-12-15 14:28:10 -07:00
Daniel Nichter ce63ce77cd Merge lp:~daniel-nichter/percona-toolkit/bash-tool-libs r131 and update in pt-stalk. 2011-12-15 12:16:33 -07:00
Daniel Nichter c33fe97cf7 Check disk space+margin before collecting. More code comments. 2011-12-15 12:02:47 -07:00
Daniel Nichter b5a14933a5 Merge lp:~daniel-nichter/percona-toolkit/bash-tool-libs r129. 2011-12-14 16:21:23 -07:00
Daniel Nichter ba7bfec6c8 Merge ~daniel-nichter/percona-toolkit/bash-tool-libs r128. 2011-12-08 14:27:05 -07:00
Daniel Nichter 2c8021e7d6 Check -x mysql, mysqladmin, and that MySQL is alive before starting. 2011-12-08 14:26:10 -07:00
Daniel Nichter 3a9e586b72 Merge ~daniel-nichter/percona-toolkit/bash-tool-libs r127. 2011-12-08 13:50:18 -07:00
Daniel Nichter b91020a007 Update modules in pt-stalk. 2011-12-08 13:35:48 -07:00
Daniel Nichter 9355a1af5d Merge ~daniel-nichter/percona-toolkit/bash-tool-libs r123. 2011-12-07 11:59:39 -07:00
Daniel Nichter ba34364cf9 Use daemon.sh to check PID file. 2011-12-07 10:58:51 -07:00
Daniel Nichter 356526594c Remove pt-collect. 2011-12-06 15:21:00 -07:00
Daniel Nichter 2e1a5e1139 Do collect in pt-stalk. Add --prefix, set default --dest. Re-implement --notify-by-email and --rention-time. 2011-12-06 15:18:19 -07:00
Daniel Nichter 6f84e4bfd9 Implement --daemonize, --log, and --pid. Catch signals. Merge lp:~daniel-nichter/percona-toolkit/bash-tool-libs r117. Set -u globally. Fix --interval specs. Refactor internals more. 2011-12-02 16:19:16 -07:00
Daniel Nichter 3e79920c9e Use option specs. Refactor internals. 2011-12-02 11:39:25 -07:00
Daniel Nichter 30dbcb35a7 Rename options. Implement untested oktorun() for --interations. 2011-11-30 11:35:53 -07:00
Daniel Nichter 937c16c172 Convert env vars to cmd line opts. Use parse_options lib. 2011-11-29 11:54:47 -07:00
Daniel Nichter b93b7de472 Use tmpdir lib. 2011-11-28 11:22:03 -07:00
Daniel Nichter 325ca3781b Implement TRIGGER_FUNCTION=plugin-file-name. Update docu. 2011-11-28 10:12:45 -07:00
Daniel Nichter 8d9bfeb31f Add processlist trigger function. Remove variables trigger function. 2011-11-03 12:53:28 -06:00
Daniel Nichter 1e04b40869 Implement trigger functions show_variables and show_status. 2011-11-02 16:05:59 -06:00
Daniel Nichter a0a0590cd1 Change default trigger from Threads_connected:100 to Threads_running:30. 2011-11-01 11:55:01 -06:00
Daniel Nichter 255ea01fd8 Make main() in pt-stalk. 2011-11-01 11:39:04 -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