2013-05-08

PostgreSQL: Check if server is running

Check if PostgreSQL server is running in openSUSE 12.2, 12.3 etc. and possibly other systemd-based distributions:

  1. # systemctl status postgresql.service
  2. # netstat -na | grep 5432
  3. # ps ax | grep postgres
  4. # pgrep -l | grep postgres

If all of these look OK, then the server is probably running.

No comments:

Post a Comment