Skip to content

Instantly share code, notes, and snippets.

@andrewp-as-is
Created June 17, 2020 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewp-as-is/699781fbbed644258fdb6ee0989a10be to your computer and use it in GitHub Desktop.
Save andrewp-as-is/699781fbbed644258fdb6ee0989a10be to your computer and use it in GitHub Desktop.
PostgreSQL status
service postgresql status | tee
sudo pg_lsclusters
ps -ax | grep -v grep | grep postgres
sudo netstat -tulpn | grep :543
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment