Re: [ADMIN] Re: Re: [PORTS] pgmonitor and Solaris

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Alfred Perlstein <bright(at)wintelcom(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Larry Rosenman <ler(at)lerctr(dot)org>, Mathijs Brands <mathijs(at)ilse(dot)nl>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [ADMIN] Re: Re: [PORTS] pgmonitor and Solaris
Date: 2001-03-29 09:20:02
Message-ID: 20010329112002.A19743@ara.zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers pgsql-ports

On Wed, Mar 28, 2001 at 04:10:52PM -0800, Alfred Perlstein wrote:
> * Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> [010328 16:07] wrote:
> > Larry Rosenman <ler(at)lerctr(dot)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(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Pete Forman 2001-03-29 10:05:52 Re: [HACKERS] Re: pgmonitor and Solaris
Previous Message Marcin Kowalski 2001-03-29 08:35:06 Re: pg_dump potential bug -UNIQUE INDEX on PG_SHADOW Dont!! HELP

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2001-03-29 10:01:41 Re: ecpg bug and patch
Previous Message Alexander Klimov 2001-03-29 09:18:16 Re: Ultrix port

Browse pgsql-ports by date

  From Date Subject
Next Message Pete Forman 2001-03-29 10:05:52 Re: [HACKERS] Re: pgmonitor and Solaris
Previous Message Yutaka tanida 2001-03-29 07:03:26 Re: Cygwin PostgreSQL Regression Test Problems (Revisited)