Re: What is postmaster doing? - Mailing list pgsql-performance

From Greg Smith
Subject Re: What is postmaster doing?
Date
Msg-id 4CBFA7E4.7080307@2ndquadrant.com
Whole thread Raw
In response to Re: What is postmaster doing?  (Dimi Paun <dimi@lattica.com>)
List pgsql-performance
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



pgsql-performance by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: BBU Cache vs. spindles
Next
From: Bruce Momjian
Date:
Subject: Re: Slow count(*) again...