Re: Performance monitor

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>, Denis Perchine <dyp(at)perchine(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Performance monitor
Date: 2001-03-13 16:04:25
Message-ID: 200103131604.LAA14665@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > My idea is that they can telnet into the server machine and do remote-X
> > with the application. Just set the DISPLAY variable and it should work.
>
> Remote X pretty well sucks in the real world. Aside from speed issues
> there is the little problem of firewalls filtering out X connections.
>
> If you've got ssh running then you can tunnel the X connection through
> the ssh connection, which fixes the firewall problem, but it makes the
> speed problem worse. And getting ssh plus X forwarding working is not
> something I want to have to hassle with when my remote database is down.
>
> If you are thinking of telnet-based remote admin then I suggest you get
> out your curses man page and do up a curses GUI. (No smiley... I'd
> seriously prefer that to something that depends on remote X.)

Aren't there tools to allow tcl/tk on non-X displays. I thought SCO had
something.

FYI, about the getrusage() idea, seems that only works for the current
process or it its children, so each backend would have to update its own
statistics. Seems expensive compared to having 'ps do it.

--
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 Zeugswetter Andreas SB 2001-03-13 16:14:57 AW: RE: xlog loose ends, continued
Previous Message Vadim Mikheev 2001-03-13 16:02:00 Re: RE: xlog loose ends, continued