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 4650F329E70 for ; Sun, 19 Sep 2004 17:58:07 +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 56740-02 for ; Sun, 19 Sep 2004 16:58:03 +0000 (GMT) Received: from smtp101.rog.mail.re2.yahoo.com (smtp101.rog.mail.re2.yahoo.com [206.190.36.79]) by svr1.postgresql.org (Postfix) with SMTP id 4B0F2329C7B for ; Sun, 19 Sep 2004 17:58:02 +0100 (BST) Received: from unknown (HELO phlogiston.dydns.org) (a.sullivan@rogers.com@65.49.125.184 with login) by smtp101.rog.mail.re2.yahoo.com with SMTP; 19 Sep 2004 16:57:59 -0000 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id A1EC540E2; Sun, 19 Sep 2004 12:57:48 -0400 (EDT) Date: Sun, 19 Sep 2004 12:57:48 -0400 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: How to check postgres running or not ? Message-ID: <20040919165748.GB15746@phlogiston.dyndns.org> Mail-Followup-To: pgsql-sql@postgresql.org References: <414A7395.8070503@vertex.co.in> <414CE76E.2050405@noggon.com> <414D7533.10708@3times25.net> <19430.1095611100@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19430.1095611100@sss.pgh.pa.us> User-Agent: Mutt/1.5.6+20040722i 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/133 X-Sequence-Number: 18979 On Sun, Sep 19, 2004 at 12:25:00PM -0400, Tom Lane wrote: > ps aux | grep postmaster | grep -v grep > (or use "ps -ef" if using a SysV-ish ps). Except that on Solaris, ps -ef _always_ shows "postmaster", even for the individual back ends. A -- Andrew Sullivan | ajs@crankycanuck.ca In the future this spectacle of the middle classes shocking the avant- garde will probably become the textbook definition of Postmodernism. --Brad Holland