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

Re: How to check postgres running or not ?

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to check postgres running or not ?
Date: 2004-09-18 18:36:47
Message-ID: cihv80$mb2$1@floppy.pyrenet.fr (view raw or flat)
Thread:
Lists: pgsql-sql
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 ?

Well, in the $DATADIR you habe postmaster.pid that contains the supposed pid...




Regards
Gaetano Mendola



In response to

pgsql-sql by date

Next:From: WorikDate: 2004-09-19 01:57:02
Subject: Re: How to check postgres running or not ?
Previous:From: Christopher BrowneDate: 2004-09-18 17:20:15
Subject: Re: How to check postgres running or not ?

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