X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D33F6D1CADC for ; Wed, 28 Jan 2004 20:01:44 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 69532-08 for ; Wed, 28 Jan 2004 16:01:15 -0400 (AST) Received: from busybox.pixar.com (busybox.pixar.com [138.72.18.213]) by svr1.postgresql.org (Postfix) with ESMTP id 9FBD1D1C9FA for ; Wed, 28 Jan 2004 16:01:05 -0400 (AST) Received: from pixar.com (dreadnok.pixar.com [138.72.16.110]) by busybox.pixar.com (8.12.8/8.12.8) with ESMTP id i0SK0pOm019198 for ; Wed, 28 Jan 2004 12:00:51 -0800 Message-ID: <401814F3.1030702@pixar.com> Date: Wed, 28 Jan 2004 12:00:51 -0800 From: Mark Harrison User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: log file: showing disconnects as well as connects? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/258 X-Sequence-Number: 12121 Here's a quickie script to watch a particular session: tail -f $LOG | awk ' /connection received: host='$1'/ { pid = $3 } $3 == pid { print }' Is there something in the log file which will indicate a disconnect as well? Many TIA, Mark