Created
January 15, 2019 08:20
-
-
Save akhdaniel/aaee0fe5d4bdcf8a0974b54036a82358 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 | |
/usr/local/bin/pgbadger -I -q ssh://[email protected]//var/log/postgresql/postgresql-9.5-main.log.* -O /var/www/html/pgbadger/db -f s | |
tderr --prefix '%t [%p-%l] %q%u@%d ' | |
/usr/local/bin/pgbadger -I -q ssh://[email protected]//var/log/postgresql/postgresql-9.5-main.log -O /var/www/html/pgbadger/shafco -f stde | |
rr --prefix '%t [%p-%l] %q%u@%d ' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment