Thanks to all the people who pitched in with bug reports, suggestions and patches! Keep it coming!
About pgmetrics
pgmetrics is an open-source, zero-dependency, single-binary tool that can collect a lot of information and statistics from a running PostgreSQL server and display it in easy-to-read text format or export it as JSON or CSV for scripting, monitoring and automation.