X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C1813329E73 for ; Mon, 20 Sep 2004 02:29:03 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 41436-04 for ; Mon, 20 Sep 2004 01:28:55 +0000 (GMT) Received: from smtp07.web.de (smtp07.web.de [217.72.192.225]) by svr1.postgresql.org (Postfix) with ESMTP id E0BEC329CD2 for ; Mon, 20 Sep 2004 02:28:57 +0100 (BST) Received: from [80.125.250.177] (helo=aspire) by smtp07.web.de with esmtp (TLSv1:DES-CBC3-SHA:168) (WEB.DE 4.101 #44) id 1C9Cz9-0001tU-00; Mon, 20 Sep 2004 03:28:55 +0200 Date: Mon, 20 Sep 2004 04:33:03 +0200 (CEST) From: Arne Stoelck X-X-Sender: arne@aspire To: Sandeep Gaikwad Cc: pgsql-sql@postgresql.org Subject: Re: How to check postgres running or not ? In-Reply-To: <414A7395.8070503@vertex.co.in> Message-ID: References: <414A7395.8070503@vertex.co.in> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Sender: stolck@web.de X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/149 X-Sequence-Number: 18995 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. >