Re: How to check postgres running or not ?

From: Arne Stoelck <stolck(at)web(dot)de>
To: Sandeep Gaikwad <sgaikwad(at)vertex(dot)co(dot)in>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to check postgres running or not ?
Date: 2004-09-20 02:33:03
Message-ID: Pine.LNX.4.60.0409200431110.3425@aspire
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


How about a simple

" telnet localhost 5432 " ?

assuming postmaster is listening on that host and port

On Fri, 17 Sep 2004, Sandeep Gaikwad wrote:

>
> Hello Sir,
> I want to know how to check whether postgres database is
> running or not ? when I give command like ./postmaster -i &, whether all
> databases in that postgres will run or any one [default] ? If any one, then
> how to detect that database ?
>
> Thanks and regards,
> Sandeep.
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Sydney-Smith 2004-09-20 03:16:47 Test for file exists?
Previous Message Christopher Browne 2004-09-20 01:33:00 Re: How to check postgres running or not ?