pt-mysql-summary - Percona
pt-mysql-summary - Percona
pt-mysql-summary - Percona
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Example: Watch Custom Scri<strong>pt</strong><br />
• Watch processlist and collect information when<br />
there are 10 or more processes with<br />
State=statistics<br />
$ cat > purge_not_working.sh<br />
trg_plugin() {<br />
}<br />
Tuesday, December 4, 2012<br />
<strong>mysql</strong> $EXT_ARGV -E -e "SHOW ENGINE INNODB<br />
STATUS" | grep "^History list length" | awk<br />
'{print $4}'<br />
$ <strong>pt</strong>-stalk --function purge_not_working.sh<br />
! --threshold 200<br />
www.percona.com