22. pt-sift

pt-sift /var/lib/pt-stalk/

======== server01 at 2018_11_23_15_56_46 DEFAULT (1 of 1) ========
--diskstats--
#ts device rd_s rd_avkb rd_mb_s rd_mrg rd_cnc rd_rt wr_s wr_avkb wr_mb_s wr_mrg wr_cnc wr_rt busy in_prg io_s qtime stime
{9} sda2 0.0 0.0 0.0 0% 0.0 0.0 166.2 8.1 1.3 0% 0.8 4.7 72% 0 166.2 0.4 4.3
sda2 0% 70% 65% 75% 70% . . . 65% 70%
--vmstat--
r b swpd free buff cache si so bi bo in cs us sy id wa st
7 7 0 1111704 2072 494076 0 0 27 22 51 166 0 0 99 1 0
8 0 0 1103772 2072 501900 0 0 10 1349 777 7125 29 18 2 50 0
wa 0% 50% 30% 50% 45% 50% 55% 60% 40% 55%
--innodb--
txns: 8xACTIVE (0s) 1xnot (0s)
0 queries inside InnoDB, 0 queries in queue
Main thread: sleeping, pending reads 0, writes 0, flush 1
Log: lsn = 249808980, chkp = 246860028, chkp age = 2948952
Threads are waiting at:
Threads are waiting on:
--processlist--
State
9 starting
1
Command
9 Query
1 Sleep
--stack traces--
No stack trace file exists
--oprofile--
No opreport file exists
You can control this program with key presses.
--- COMMANDS ---
1 Default action: summarize files
0 Minimal action: list files
* View all the files in less
d Invoke 'diskstats' on the disk performance data
i View the first INNODB STATUS sample in 'less'
m Invoke 'pt-mext' to show the SHOW STATUS counters side by side
n Summarize the 'netstat -antp' status data
--- NAVIGATION ---
j Select the next timestamp
k Select the previous timestamp
q Quit the program
Press any key to continue

wechat: nick753159 qq: 417966852 email: nzq42@qq.com base: shanghai
原文地址:https://www.cnblogs.com/cyberbit/p/pt-sift.html