Created
July 30, 2020 12:28
-
-
Save tyagiakhilesh/4c169ca2067f0ed04e62974e7a94718e to your computer and use it in GitHub Desktop.
Sorty Mysql Query Logs
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
grep -w 'Query_time' /var/log/mysql/mysql-slow.log | awk '{print $3}' | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment