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

From Darren Ferguson
Subject Re: how to test whether postgres server is running?
Date
Msg-id Pine.LNX.4.44.0303271842270.29569-100000@thread.crystalballinc.com
Whole thread Raw
In response to Re: how to test whether postgres server is running?  (Reynard Hilman <reynardmh@lightsky.com>)
List pgsql-general
If you have command line access to the machine with the Database you can
run the command from there.

Sorry about that i should have read the mail more

Darren

On Thu, 27 Mar 2003, Reynard Hilman wrote:

>
> 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
> >
> >
>

--
Darren Ferguson


pgsql-general by date:

Previous
From: "Michal Adamczak"
Date:
Subject: special columns
Next
From: Darren Ferguson
Date:
Subject: Re: how to test whether postgres server is running?