guriandoro
b775701551
Merge branch '3.0' into pt-stalk-collect-prepared-statements-LP1642750
...
Conflicts:
bin/pt-stalk
lib/bash/collect.sh
2017-06-10 11:45:33 -04:00
guriandoro
437d28837b
Changes for LP1510809. ps -eaF is captured now.
...
Modified f argument, for F. From man pages:
" -F Extra full format. See the -f option, which -F implies."
The following columns have been added to the output, due to this
change:
SZ size in physical pages of the core image of the process.
This includes text, data, and stack space. Device mappings
are currently excluded; this is subject to change.
RSS resident set size, the non-swapped physical memory that a
task has used (inkiloBytes).
PSR processor that process is currently assigned to.
2017-04-11 19:15:14 -04:00
Carlos Salguero
fac4be64b4
Merge branch '3.0' into issue-1642754
2017-03-28 14:08:51 -03:00
Carlos Salguero
1926bd60b4
PT-111 Collect MySQL variables
2017-03-28 14:03:40 -03:00
Carlos Salguero
be971eeee5
PT-80 Collect replication slave information
2017-03-27 17:30:06 -03:00
Carlos Salguero
ad73055a5b
Changed how we invoke MySQL from pt-stalk
2017-03-22 19:38:09 -03:00
guriandoro
0e5a08342d
Merge branch '3.0' into pt-stalk-collect-prepared-statements-LP1642750
2017-03-22 16:34:34 -04:00
Carlos Salguero
759ee9196e
Updated collect.sh because of a syntax error
2017-03-22 17:32:14 -03:00
guriandoro
32745039b5
Merge branch '3.0' into pt-stalk-collect-prepared-statements-LP1642750
2017-03-22 16:19:19 -04:00
Carlos Salguero
a117e63e89
Added MySQL version check to stalk ps queries
2017-03-22 12:38:11 -03:00
guriandoro
e8ad42955d
PT-90 Adding collect for LP:1642750
...
pt-stalk will now also collect from P_S.prepared_statements_instances
2017-03-22 10:53:34 -04:00
Carlos Salguero
91ec593da5
Merge pull request #174 from percona/PT-89
...
PT-89 Now top runs using -bn${OPT_RUN_TIME}
2017-03-21 19:25:30 +02:00
Carlos Salguero
2e64421972
Merge pull request #172 from percona/PT-76
...
PT-76 Fixed cmd line parsing for lines having #
2017-03-21 19:23:37 +02:00
Carlos Salguero
4a056cf3b0
PT-81 Collect information about locks and transactions using P_S
2017-03-21 13:45:59 -03:00
Carlos Salguero
076864c79e
PT-89 Now top runs using -bn${OPT_RUN_TIME}
2017-03-01 13:30:09 -03:00
Carlos Salguero
43a58c4c64
PT-76 Fixed cmd line parsing for lines having #
2017-02-25 13:52:46 -03:00
Carlos Salguero
90e1e9cf1e
PT-81 Moved functions to the collect module
2017-02-25 10:41:07 -03:00
frank-cizmich
c3f4705b67
pt-stalk sort transactions - lp1537416
2016-06-09 14:31:19 -03:00
frank-cizmich
377b50144b
new var binlog_error_action caused bug in collect module
2016-02-11 17:44:20 -03:00
frank-cizmich
074c1edec5
pt-mysql-summary added ask-pass option
2015-07-28 17:08:58 -03:00
Frank Cizmich
f8c8411297
simplified conditional for testing if HOME is set
2015-01-19 14:58:47 -02:00
Frank Cizmich
18f85786ba
added test. removed space
2015-01-14 14:36:44 -02:00
Frank Cizmich
a7e1975eea
parse_options checks if HOME is set
2015-01-13 17:36:26 -02:00
Frank Cizmich
c46232cf3c
merged pt-stalk-should-also-gather-dmesg-output-1349086
2014-11-06 19:18:49 -02:00
Frank Cizmich
1e2e7b5a18
pt-stalk now collects 1 minute of dmesg output preceding trigger event - 1349086
2014-10-22 16:16:13 -02:00
Frank Cizmich
dc4c506483
many scripts failed when reading no-version-check from global config file - 1361293
2014-10-06 19:04:49 -02:00
Frank Cizmich
21b1c78a78
merged pt-summary-problem-parsing-dmidecode-output-on-some-machines-1368379
2014-09-18 18:56:03 -03:00
Frank Cizmich
5e7cedfbc4
pt-summary problem parsing output from dmidecode version 2.12 - 1368379
2014-09-17 18:25:04 -03:00
Frank Cizmich
95c5f4d4ef
updated module and tests for issue - 1264580
2014-09-03 18:18:38 -03:00
Frank Cizmich
cde3e26140
fixed pt-mest --version
...
fixed version parsing in parse_options.sh , was incompatible with dash shell script
2014-07-10 17:15:13 -03:00
Daniel Nichter
2a1654c47b
Merge pt-stalk-sleep-collect-option.
2013-12-13 20:31:53 -08:00
Daniel Nichter
69586fdf50
Revert r587: *do* sync on clock ticks. Fix pt-stalk.t (127.1 no longer works?). Enhance --sleep-collect docs.
2013-12-13 20:19:51 -08:00
Daniel Nichter
5ff62d6956
Fix tests.
2013-12-12 05:49:59 +00:00
Daniel Nichter
591e5e00f3
Add back blank lines around Schema section contents. Use default vals for OPT_DATABASE, OPT_ALL_DATABASES, and OPT_READ_SAMPLE in report_mysql_info.sh to avoid errors in unit tests.
2013-12-12 05:02:34 +00:00
Daniel Nichter
826685e636
Remove blank lines around Schema section contents.
2013-12-11 20:49:19 -08:00
Daniel Nichter
b7320fc9ee
Remove mysqldump prompt, add --all-databases, and make --databases or --all-databases required to do mysqldump (Schema section).
2013-12-11 20:40:57 -08:00
Daniel Nichter
a2f71b41f8
Fix check_disk_space().
2013-10-31 11:20:46 -07:00
Daniel Nichter
a6dc5a91ec
Read opts file in perl instead of 'cat file | perl' to avoid occasional 'cat: write error: Broken pipe'.
2013-08-09 21:21:55 +00:00
Daniel Nichter
5035de3fbb
Calc cnt for iostat, vmstat, mpstat, and mysqladmin -c as --run-time/--sleep-collect.
2013-07-24 13:29:23 -07:00
Daniel Nichter
47ef093a58
Calc collect loop run time based on start ts - curr ts so arbitrary --sleep-collect work. Do not sync on clock ticks.
2013-07-24 12:49:28 -07:00
Daniel Nichter
86a949253d
Allow string interpol in collect sleep calc so --sleep-collect works.
2013-07-24 12:08:01 -07:00
Daniel Nichter
50301e51d5
Add --sleep-collect, default 1.
2013-07-24 11:53:08 -07:00
Daniel Nichter
5a5fe75130
Merge pt-stalk-1019648.
2013-03-12 15:23:02 -06:00
Daniel Nichter
7f728acddd
Move code to get InnoDB status into its own sub.
2013-03-12 15:08:25 -06:00
Daniel Nichter
e3346332e1
Merge pt-ms-pt-stalk-standard-mysql-options.
2013-03-09 11:57:41 -07:00
Brian Fraser
0efad73f3e
Rearrange mysql options so that --defaults-file is always first, and remove default: localhost from pt-ms and pt-stalk, since parse_options.sh deals with defaults + config files for mysql options poorly
2013-03-06 12:52:17 -03:00
Brian Fraser
ebd83f5ba4
Minor fixes for compat
2013-03-05 11:32:21 -03:00
Daniel Nichter
f7f63555ee
Add lib/bash/subshell.sh and use in pt-stalk to fix/improve subprocess waiting.
2013-03-04 17:47:02 -07:00
Fernando Ipar
177c2aaef7
Changed collect so that innodb status is read from tmp file if the original output is truncated
2013-03-04 17:40:41 -02:00
Brian Fraser
9e2ce2197f
pt-ms & pt-stalk: Enable the standard mysql options
2013-02-25 11:21:46 -03:00