Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f2U22eK39709 for ; Thu, 29 Mar 2001 21:02:40 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from smtp010.mail.yahoo.com (smtp010.mail.yahoo.com [216.136.173.30]) by mail.postgresql.org (8.11.3/8.11.1) with SMTP id f2TCLtU63622 for ; Thu, 29 Mar 2001 07:21:55 -0500 (EST) (envelope-from janwieck@yahoo.com) Received: from pd957748b.dip.t-dialin.net (HELO jupiter.jw.home) (217.87.116.139) by smtp.mail.vip.sc5.yahoo.com with SMTP; 29 Mar 2001 12:21:51 -0000 X-Apparently-From: Received: (from janwieck@localhost) by jupiter.jw.home (8.9.3/8.9.3) id HAA30130; Thu, 29 Mar 2001 07:12:35 -0500 From: Jan Wieck Message-Id: <200103291212.HAA30130@jupiter.jw.home> Subject: Re: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris In-Reply-To: <200103290014.TAA04977@candle.pha.pa.us> from Bruce Momjian at "Mar 28, 2001 07:14:35 pm" To: Bruce Momjian Date: Thu, 29 Mar 2001 07:12:34 -0500 (EST) CC: Tom Lane , Larry Rosenman , Mathijs Brands , Peter Eisentraut , PostgreSQL-development , PostgreSQL-ports , PostgreSQL-Admin X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/247 X-Sequence-Number: 1096 Bruce Momjian 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... > > Agreed. If that is what is required, I think you can forget ps status > on that platform. Bruce, have you taken a look at my statistics collector stuff yet? The view pgstat_activity shows datid, datname, procpid, usesysid, usename and current_query per backend. The code still needs some more work, but as it is it's ready to apply as soon as 7.1 is out the door. All that is totally OS independant, restricts the display of querystrings to postgres superusers and works remotely. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com # _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com