Created
November 9, 2017 09:04
-
-
Save songpon/3048a76ab1ec9703b7c70741e023632a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
cd /var/log/postgresql; tail -n 500000 postgresql-9.1-main.log > res2 ;grep -A 5 -ir deadlock res2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment