Re: Performance monitor

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Denis Perchine <dyp(at)perchine(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Performance monitor
Date: 2001-03-13 16:37:40
Message-ID: 200103131637.LAA16802@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 2001-03-13 16:39:52 Re: RE: xlog loose ends, continued
Previous Message Eric Marsden 2001-03-13 16:31:33 Re: problem with fe/be protocol and large objects