Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id ECCCA1337B5A for ; Wed, 20 Oct 2010 23:39:44 -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 44918-05 for ; Thu, 21 Oct 2010 02:39:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mail.postgresql.org (Postfix) with ESMTP id 9137E1337B4A for ; Wed, 20 Oct 2010 23:39:37 -0300 (ADT) Received: from [192.168.1.6] (static-71-179-240-8.bltmmd.fios.verizon.net [71.179.240.8]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MDTqb-1OryDD0Cw1-00HKjZ; Thu, 21 Oct 2010 04:39:34 +0200 Message-ID: <4CBFA7E4.7080307@2ndquadrant.com> Date: Wed, 20 Oct 2010 22:39:32 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Dimi Paun CC: Tom Lane , Jeff Davis , pgsql-performance@postgresql.org Subject: Re: What is postmaster doing? References: <1287600255.18151.58.camel@dimi.lattica.com> <1287604781.28384.50.camel@jdavis-ux.asterdata.local> <3615.1287606374@sss.pgh.pa.us> <1287607173.18151.75.camel@dimi.lattica.com> <4055.1287607529@sss.pgh.pa.us> <1287608150.18151.77.camel@dimi.lattica.com> In-Reply-To: <1287608150.18151.77.camel@dimi.lattica.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:QYshXY7+ohyEYNn7SMbrUsmyY2umqynALcBJ5SRM6UP RLTPSCv84VbSh03sF8CDOqgQGqrWs7LBCel8Blxc0tQTcnB1YK J3CbjmP9Dgwd/Vu4XBq8utFdtwJU+Rt5irAJOr2h/nul1S3w5H Rru2UA36mEYReWVqpYk/eisWG3DBH9HTzlIX3Q5xP8/TEGVPVf hNJujTPluLtj21iQnaCIE2ltLt2IZcJNdZVcHyn/lk= 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, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201010/331 X-Sequence-Number: 40749 Dimi Paun wrote: > Sorry, it wasn't a ps output, it was a line from top(1). > My to header says: > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 23425 postgres 20 0 22008 10m 10m R 99.9 0.5 21:45.87 postmaster > Use "top -c" instead. On Linux that will show you what each of the clients is currently doing most of the time, the ones that are running for a long time at least. -- Greg Smith, 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services and Support www.2ndQuadrant.us Author, "PostgreSQL 9.0 High Performance": http://www.2ndquadrant.com/books