mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00
53 lines
2.0 KiB
Bash
Executable File
53 lines
2.0 KiB
Bash
Executable File
#!/bin/bash
|
|
#format_innodb_status /tmp/percona-toolkit-innodb-status
|
|
|
|
cat <<EOF > $1
|
|
Checkpoint Age | 619k
|
|
InnoDB Queue | 0 queries inside InnoDB, 0 queries in queue
|
|
Oldest Transaction | 3 Seconds
|
|
History List Len | 255
|
|
Read Views | 23
|
|
Undo Log Entries | 0 transactions, 0 total undo, 0 max undo
|
|
Pending I/O Reads | 14 buf pool reads, 6 normal AIO, 0 ibuf AIO, 23 preads
|
|
Pending I/O Writes | 63 buf pool (63 LRU, 0 flush list, 0 page); 0 AIO, 0 sync, 0 log IO (1 log, 0 chkp); 0 pwrites
|
|
Pending I/O Flushes | 0 buf pool, 1 log
|
|
Transaction States | 1xACTIVE
|
|
Semaphore Waits
|
|
69 btr/btr0cur.c line 457
|
|
47 btr/btr0cur.c line 523
|
|
17 trx/trx0trx.c line 1621
|
|
12 row/row0sel.c line 3549
|
|
4 lock/lock0lock.c line 4944
|
|
3 lock/lock0lock.c line 5316
|
|
2 lock/lock0lock.c line 3224
|
|
2 btr/btr0sea.c line 1032
|
|
1 trx/trx0trx.c line 738
|
|
1 row/row0sel.c line 4574
|
|
1 lock/lock0lock.c line 5163
|
|
1 lock/lock0lock.c line 3249
|
|
1 ./include/btr0btr.ic line 53
|
|
1 fsp/fsp0fsp.c line 3395
|
|
1 btr/btr0cur.c line 672
|
|
1 btr/btr0cur.c line 450
|
|
Semaphore Holders
|
|
66 thread id 139960165583184
|
|
45 thread id 139960567171408
|
|
4 thread id 139960404199760
|
|
1 thread id 139961215367504
|
|
1 thread id 139960969292112
|
|
1 thread id 139960676096336
|
|
Mutexes/Locks Waited For
|
|
65 lock on RW-latch at 0x905d33d0 '&new_index->lock'
|
|
45 lock on RW-latch at 0x7f4bedbf8810 '&block->lock'
|
|
30 Mutex at 0xf89ab0 '&kernel_mutex'
|
|
15 lock on RW-latch at 0x90075530 '&btr_search_latch'
|
|
4 lock on RW-latch at 0x90a42ca0 '&new_index->lock'
|
|
1 lock on RW-latch at 0x90fe1c80 '&new_index->lock'
|
|
1 lock on RW-latch at 0x90078f10 '&space->latch'
|
|
1 lock on RW-latch at 0x7f4c0d3abba8 '&block->lock'
|
|
1 lock on RW-latch at 0x7f4bfc558040 '&block->lock'
|
|
1 lock on RW-latch at 0x7f4bd0a8c8d0 '&block->lock'
|
|
EOF
|
|
|
|
cp samples/innodb-status.001.txt /tmp/percona-toolkit-innodb-status
|