Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 2257DB5DBD6 for ; Wed, 10 Aug 2011 03:15:14 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 01876-10 for ; Wed, 10 Aug 2011 06:15:03 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174]) by mail.postgresql.org (Postfix) with ESMTP id 77EA4B5D8C5 for ; Wed, 10 Aug 2011 03:15:03 -0300 (ADT) Received: by qyk38 with SMTP id 38so2693968qyk.19 for ; Tue, 09 Aug 2011 23:15:02 -0700 (PDT) Received: by 10.224.180.139 with SMTP id bu11mr885187qab.45.1312956902779; Tue, 09 Aug 2011 23:15:02 -0700 (PDT) Received: from [10.1.1.8] (124-169-181-228.dyn.iinet.net.au [124.169.181.228]) by mx.google.com with ESMTPS id fq5sm303424qab.7.2011.08.09.23.15.00 (version=SSLv3 cipher=OTHER); Tue, 09 Aug 2011 23:15:02 -0700 (PDT) Message-ID: <4E4221E0.8030907@ringerc.id.au> Date: Wed, 10 Aug 2011 14:14:56 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: iliya g CC: "pgsql-admin@postgresql.org" Subject: Re: Postgres process References: <1312860397.93185.YahooMailNeo@web120526.mail.ne1.yahoo.com> In-Reply-To: <1312860397.93185.YahooMailNeo@web120526.mail.ne1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201108/70 X-Sequence-Number: 38057 On 9/08/2011 11:26 AM, iliya g wrote: > Hi guys, > > I need some help discovering the processes that run on an instance. I > know that there are many processes running on one instance and they are > all called postges, but I was hoping you can help me find a way to > uniquely identify each one of them. I want to discover what the process > name is and what the does. Let me know if you have any suggestions. On operating systems that support it, postgresql changes the process name to tell you what it's doing. On other operating systems, use the pg_stat_activity view. See the manual. If you still need more information, please read this so you provide enough detail to get a proper answer before following up: http://wiki.postgresql.org/wiki/Guide_to_reporting_problems ... since you didn't even mention what operating system you were running on in your question! -- Craig Ringer