Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group