Performance monitor ready

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Performance monitor ready
Date: 2001-03-09 18:03:05
Message-ID: 200103091803.NAA07617@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

OK, I have finished the first version of my performance monitor. You
can get the TCL code at:

ftp://candle.pha.pa.us/pub/postgresql/pgtop.tcl

Once people like it, I will add it to CVS /contrib. It probably will
only work only *BSD and Linux right now. It tries to find the USER and
COMMAND columns of ps, and gets the PostgreSQL username by looking at
the owner of the /tmp socket file or the owner of the postmaster
process.

I have added many comments, so hopefully people can make suggestions to
get it working on more platforms. Right now, it doesn't show anything
except 'ps' output. I also want to add the ability for it to sort on
certain columns.

Attached is a screenshot for the curious.

--
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

Attachment Content-Type Size
image/gif 10.5 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-03-09 18:42:24 Re: AW: AW: AW: WAL does not recover gracefully from out-of -dis k-sp ace
Previous Message Zeugswetter Andreas SB 2001-03-09 18:00:04 AW: AW: AW: WAL does not recover gracefully from out-of -dis k-sp ace