Received: from serv1.ilse.nl (serv1.ilse.nl [212.189.131.11]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f2UAJAK11570 for ; Fri, 30 Mar 2001 05:19:24 -0500 (EST) (envelope-from mathijs@ilse.nl) Received: (from mathijs@localhost) by serv1.ilse.nl (8.11.0/8.10.2) id f2UAH1j73066; Fri, 30 Mar 2001 12:17:01 +0200 (MEST) Date: Fri, 30 Mar 2001 12:17:01 +0200 From: Mathijs Brands To: Pete Forman Cc: Bruce Momjian , Peter Eisentraut , Tom Lane , Larry Rosenman , PostgreSQL-development Subject: Re: Re: [PORTS] pgmonitor and Solaris Message-ID: <20010330121701.B72236@ilse.nl> References: <200103291702.MAA13902@candle.pha.pa.us> <15044.23261.17066.628202@kryten.bedford.waii.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15044.23261.17066.628202@kryten.bedford.waii.com>; from pete.forman@westerngeco.com on Fri, Mar 30, 2001 at 11:07:25AM +0100 X-Unexpected-Header: The Spanish Inquisition X-Archive-Number: 200103/1517 X-Sequence-Number: 6878 On Fri, Mar 30, 2001 at 11:07:25AM +0100, Pete Forman allegedly wrote: > I've done a quick survey of the Suns available to me to see whether > sendmail updates the ps display. The summary is: > > 1) Require "/usr/ucb/ps w" at least. /usr/bin/ps has no options > that I can find to display the status of sendmail. > > 2) Older versions of sendmail do not update the status. 8.6 does > not update, 8.8.8 does. > > 3) Solaris 2.5 and 2.5.1 have sendmail 8.6, 7 has 8.9.1, 8 has > 8.9.3. Some 2.6 have 8.6, others have 8.8.8. Presumably > patches have beed applied. > > On other OSs, AIX 4.1, 4.2, 4.3 have sendmail 8.8.4, 8.8.6, 8.8.8 or > 8.9.3. They all display the status in both SysV and BSD modes. > On AIX there is one ps command which handles both styles. > > IRIX 6.2 and 6.5.4m through 6.5.10m have sendmail 8.8.8, 8.9.1, 8.9.3. > No status is available. There do not appear to be any BSD-ish ps > options. The way /usr/ucb/ps in Solaris extracts the status for a process requires root rights and is (in my opinion) pretty gross. What it does is read the pseudo-file /proc//psinfo, which contains the real parameters supplied to the program and not the clobbered version. Regards, Mathijs -- It's not that perl programmers are idiots, it's that the language rewards idiotic behavior in a way that no other language or tool has ever done. Erik Naggum