Re: how to test whether postgres server is running? - Mailing list pgsql-general

From Reynard Hilman
Subject Re: how to test whether postgres server is running?
Date
Msg-id 3E838668.9020801@lightsky.com
Whole thread Raw
In response to how to test whether postgres server is running?  (Reynard Hilman <reynardmh@lightsky.com>)
Responses Re: how to test whether postgres server is running?  (Darren Ferguson <darren@thread.crystalballinc.com>)
List pgsql-general
thanks for the quick reply Darren, but you can't do this if the web
server is running on a different server than the database, right?

- reynard

>netstat -anp | grep postmaster
>
>This will tell you if postmater is listening on the port.
>
>If you do not have root access then
>
>netstat -an | grep 5432
>
>HTH
>
>Darren
>
>


pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: transaction blocking inserts in postgresql 7.3
Next
From: Bruce Momjian
Date:
Subject: Re: pg_dump (v-7.3.2) of individual schemas