pgstats Displays basic statistics on the work of your database in the PostgreSQL server Usage: git clone https://github.com/xtimon/pgstats.git psql -h hostame -U username -d dbname -f pgstats/pgstats.sql > mystats.txt