Re: Performance monitor - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Performance monitor
Date
Msg-id 200103131637.LAA16802@candle.pha.pa.us
Whole thread Raw
In response to Re: Performance monitor  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
> Hard to say.  'ps' gives some great information about cpu/memory usage
> that may be hard/costly to put in shared memory.  One idea should be to
> issue periodic 'ps/kill' commands though a telnet/ssh pipe to the
> remote machine, or just to the remote X display option.
> 
> Of course, getrusage() gives us much of that information.

Forget getrusage().  Only works on current process, so each backend
would have to update its own statistics.  Sounds expensive.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: "Vadim Mikheev"
Date:
Subject: Re: RE: xlog loose ends, continued
Next
From: Zeugswetter Andreas SB
Date:
Subject: AW: RE: xlog loose ends, continued