Skip to content

Instantly share code, notes, and snippets.

@deepzm
Created March 6, 2015 03:06
Show Gist options
  • Save deepzm/03da9bbb8a575fd5c019 to your computer and use it in GitHub Desktop.
Save deepzm/03da9bbb8a575fd5c019 to your computer and use it in GitHub Desktop.
currently executing queries on postgres
SELECT datname,procpid,current_query FROM pg_stat_activity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment