Re: how to test whether postgres server is running?

From: Darren Ferguson <darren(at)thread(dot)crystalballinc(dot)com>
To: Reynard Hilman <reynardmh(at)lightsky(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to test whether postgres server is running?
Date: 2003-03-27 23:44:36
Message-ID: Pine.LNX.4.44.0303271842270.29569-100000@thread.crystalballinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dominic Chow 2003-03-27 23:45:34 Development Language, OS and PostgreSQL
Previous Message Dann Corbit 2003-03-27 23:29:48 Slow query needs a kick in the pants.