Last active
January 20, 2022 14:32
-
-
Save ylacancellera/c678a7a74d73915b8ebdb607654fb544 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pager grep -v "\-\-+\-\-" | grep -v "Type" | sed 's/| InnoDB | //' | sed 's/\s\+|\s\+/\t/g' | sed 's/ |$//' | sed 's/os_waits=/= /' | awk 'BEGIN { FS = "=" } { locks[$1]+=$2 } END { for (l in locks) print l,locks[l] }' | |
show engine innodb mutex; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment