pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Arne Stoelck <stolck@web.de>
To: Sandeep Gaikwad <sgaikwad@vertex.co.in>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to check postgres running or not ?
Date: Mon, 20 Sep 2004 04:33:03 +0200 (CEST)
Message-ID: <Pine.LNX.4.60.0409200431110.3425@aspire> (raw)
In-Reply-To: <414A7395.8070503@vertex.co.in>
References: <414A7395.8070503@vertex.co.in>


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



view thread (22+ messages)  latest in thread

Message-ID: <Pine.LNX.4.60.0409200431110.3425@aspire>
Permalink:  ../Pine.LNX.4.60.0409200431110.3425@aspire/
Also on:    postgresql.org/message-id/Pine.LNX.4.60.0409200431110.3425@aspire

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: stolck@web.de, sgaikwad@vertex.co.in
  Subject: Re: How to check postgres running or not ?
  In-Reply-To: <Pine.LNX.4.60.0409200431110.3425@aspire>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox