Yet another postgres top
Install dependencies for debian(jessie):
apt-get install libgetopt-long-descriptive-perl libconfig-inifiles-perl libdbd-pg-perl libterm-readkey-perl
Update the connectionstring in config.pm or provide one via -d Run the tool.
perl pg_YAPT.pl
If there's no DB at hand, set '-T' for dry-run mode. The tool will now cease to connect to a DB and preconfigured values are returned.