Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
--- PSQL queries which also duplicated from https://github.com/anvk/AwesomePSQLList/blob/master/README.md | |
--- some of them taken from https://www.slideshare.net/alexeylesovsky/deep-dive-into-postgresql-statistics-54594192 | |
-- I'm not an expert in PSQL. Just a developer who is trying to accumulate useful stat queries which could potentially explain problems in your Postgres DB. | |
------------ | |
-- Basics -- | |
------------ | |
-- Get indexes of tables |
#!/bin/bash | |
# Function to translate camera serial into zoneminder monitor id | |
function serialToID() { | |
MONITORID=0 | |
if [ "$1" == '"383c49531157b1b1"' ]; then | |
MONITORID=9 | |
fi | |
echo $MONITORID | |
} | |
# Netcat persistent listen |