#!/bin/bash #format_innodb_status /tmp/percona-toolkit-innodb-status cat <<'EOF' > $1 Checkpoint Age | 93M InnoDB Queue | 9 queries inside InnoDB, 0 queries in queue Oldest Transaction | 263 Seconds History List Len | 1282 Read Views | 10 Undo Log Entries | 3 transactions, 276797 total undo, 153341 max undo Pending I/O Reads | 50 buf pool reads, 48 normal AIO, 0 ibuf AIO, 2 preads Pending I/O Writes | 0 buf pool (0 LRU, 0 flush list, 0 page); 0 AIO, 0 sync, 0 log IO (0 log, 0 chkp); 0 pwrites Pending I/O Flushes | 0 buf pool, 0 log Transaction States | 9xACTIVE, 57xnot started Semaphore Waits 3 row/row0sel.c line 3495 2 btr/btr0sea.c line 1024 1 btr/btr0sea.c line 1170 1 btr/btr0cur.c line 443 1 btr/btr0cur.c line 1501 Semaphore Holders 7 thread id 1220999488 1 thread id 1229429056 Mutexes/Locks Waited For 7 lock on RW-latch at 0x2aaab42120b8 created in file btr/btr0sea.c line 139 1 lock on RW-latch at 0x2ab2c679a550 created in file buf/buf0buf.c line 550 EOF cp samples/innodb-status.004.txt /tmp/percona-toolkit-innodb-status