How to check whether PostgreSQL server is up and running
Definition Description
http://www.thegeekstuff.com/2009/04/15-practical-postgresql-database-adminstration-commands/ $ /etc/init.d/postgresql status Password: pg_ctl: server is running (PID: 6171) /usr/local/pgsql/bin/postgres "-D" "/usr/local/pgsql/data" [Note: The status above indicates the server is up and running] $ /etc/init.d/postgresql status Password: pg_ctl: no server running [Note: The status above indicates the server is down]