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 0B1AF329C7B for ; Sun, 19 Sep 2004 13:02:01 +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 96232-03 for ; Sun, 19 Sep 2004 12:01:55 +0000 (GMT) Received: from rhws.home.edu (66-23-211-34.clients.speedfactory.net [66.23.211.34]) by svr1.postgresql.org (Postfix) with ESMTP id EF77A329C67 for ; Sun, 19 Sep 2004 13:01:56 +0100 (BST) Received: from [127.0.0.1] (rhws.home.edu [127.0.0.1]) by rhws.home.edu (8.12.11/8.12.11) with ESMTP id i8JC1tml024977 for ; Sun, 19 Sep 2004 08:01:55 -0400 Message-ID: <414D7533.10708@3times25.net> Date: Sun, 19 Sep 2004 08:01:55 -0400 From: Geoffrey User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Re: How to check postgres running or not ? References: <414A7395.8070503@vertex.co.in> <414CE76E.2050405@noggon.com> In-Reply-To: <414CE76E.2050405@noggon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/126 X-Sequence-Number: 18972 Worik wrote: > Assuming it is unix.... The command > > ps xau|grep post You might want to change that to: ps aux|grep postgres As your suggestion will pick up extraneous data if one is running postfix on the same box. -- Until later, Geoffrey Registered Linux User #108567 AT&T Certified UNIX System Programmer - 1995