From: Karel Zak <zakkr@zf.jcu.cz>
To: Alfred Perlstein <bright@wintelcom.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Larry Rosenman <ler@lerctr.org>
Cc: Mathijs Brands <mathijs@ilse.nl>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [ADMIN] Re: Re: [PORTS] pgmonitor and Solaris
Date: Thu, 29 Mar 2001 11:20:02 +0200
Message-ID: <20010329112002.A19743@ara.zf.jcu.cz> (raw)
In-Reply-To: <20010328161052.A9431@fw.wintelcom.net>
References: <20010329003006.A26435@ilse.nl>
<200103282233.RAA24095@candle.pha.pa.us>
<20010329005126.D26435@ilse.nl>
<20299.985821796@sss.pgh.pa.us>
<20010328.23363000@ler-freebie.iadfw.net>
<20482.985823473@sss.pgh.pa.us>
<20010328161052.A9431@fw.wintelcom.net>
On Wed, Mar 28, 2001 at 04:10:52PM -0800, Alfred Perlstein wrote:
> * Tom Lane <tgl@sss.pgh.pa.us> [010328 16:07] wrote:
> > Larry Rosenman <ler@lerctr.org> writes:
> > > FYI, the WU-FTPD code (2.6.0 or better) has a couple of more platforms
> > > including UnixWare. The UnixWare code will need /dev/kmem permission to
> > > change it's stuff, so I don't know whether we want to do this or not, but
> > > if people are looking at the ps stuff, please look at this as well.
> >
> > Well, *I* sure wouldn't run Postgres with write permission on /dev/kmem.
> > Especially not just to make ps_status work...
>
> Wow... is this all for "pgmonitor"?
>
> sorry, just my opinion...
>
> If it for pgmonitor then you guys ought to just mark it broken on
> these platforms, the non-"ps based" solution could have been
> implemented with all the time wasted trying to get the "ps based"
> hack working. :(
If is still a mind for (IMHO) terrible work with 'ps'... not sure if
it's interesting, but exist cross-platforms library for processes
information loading - the libgtop. Supports:
* All versions of Linux
* FreeBSD, NetBSD and OpenBSD
* BSD/OS
* Digital Unix
* Solaris
* ..and may be others
Sure, it's in C :-)
Karel
--
Karel Zak <zakkr@zf.jcu.cz>
http://home.zf.jcu.cz/~zakkr/
C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: zakkr@zf.jcu.cz, bright@wintelcom.net, tgl@sss.pgh.pa.us, ler@lerctr.org, mathijs@ilse.nl, pgman@candle.pha.pa.us, peter_e@gmx.net, pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] Re: Re: [PORTS] pgmonitor and Solaris
In-Reply-To: <20010329112002.A19743@ara.zf.jcu.cz>
References: <20010329003006.A26435@ilse.nl> <200103282233.RAA24095@candle.pha.pa.us> <20010329005126.D26435@ilse.nl> <20299.985821796@sss.pgh.pa.us> <20010328.23363000@ler-freebie.iadfw.net> <20482.985823473@sss.pgh.pa.us> <20010328161052.A9431@fw.wintelcom.net> <20010329112002.A19743@ara.zf.jcu.cz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox