Received: from ara.zf.jcu.cz (ara.zf.jcu.cz [160.217.161.4]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2T9KhU37084 for ; Thu, 29 Mar 2001 04:20:44 -0500 (EST) (envelope-from zakkr@zf.jcu.cz) Received: (from zakkr@localhost) by ara.zf.jcu.cz (8.9.3/8.9.3/Debian 8.9.3-21) id LAA21890; Thu, 29 Mar 2001 11:20:02 +0200 Date: Thu, 29 Mar 2001 11:20:02 +0200 From: Karel Zak To: Alfred Perlstein Cc: Tom Lane , Larry Rosenman , Mathijs Brands , Bruce Momjian , Peter Eisentraut , PostgreSQL-development Subject: Re: [ADMIN] Re: Re: [PORTS] pgmonitor and Solaris Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <20010328161052.A9431@fw.wintelcom.net>; from bright@wintelcom.net on Wed, Mar 28, 2001 at 04:10:52PM -0800 X-Archive-Number: 200103/1476 X-Sequence-Number: 6837 On Wed, Mar 28, 2001 at 04:10:52PM -0800, Alfred Perlstein wrote: > * Tom Lane [010328 16:07] wrote: > > Larry Rosenman 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 http://home.zf.jcu.cz/~zakkr/ C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz