I\'d like to monitor the queries getting sent to my database from an application. To that end, I\'ve found pg_stat_activity, but more often then not, the rows which
pg_stat_activity
pg_activity is what we use. https://github.com/dalibo/pg_activity
pg_activity
It's a great tool with a top-like interface
top