Skip to content

Instantly share code, notes, and snippets.

@velo
Created May 15, 2013 19:14
Show Gist options
  • Save velo/5586515 to your computer and use it in GitHub Desktop.
Save velo/5586515 to your computer and use it in GitHub Desktop.
Current PostgreSQL Status
SELECT usesysid, usename, client_addr, count(usename) FROM pg_stat_activity group by usesysid, usename, client_addr;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment