Received: from diamond.waii.com (diamond.waii.com [198.3.192.201]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f2UA8dK10821 for ; Fri, 30 Mar 2001 05:08:54 -0500 (EST) (envelope-from gsez020@kryten.waii.com) Received: from mail1.wg.waii.com (mail.wg.waii.com [137.144.128.17] (may be forged)) by diamond.waii.com (8.9.1/8.9.1) with ESMTP id EAA27343; Fri, 30 Mar 2001 04:07:37 -0600 (CST) Received: from merlin.london.waii.com (merlin.london.waii.com [136.250.33.1]) by mail1.wg.waii.com (8.8.7/8.8.7) with ESMTP id EAA10824; Fri, 30 Mar 2001 04:07:20 -0600 Received: from kryten.bedford (kryten.bedford.waii.com [136.250.3.220]) by merlin.london.waii.com (8.8.4/8.8.4) with SMTP id LAA99218; Fri, 30 Mar 2001 11:07:35 +0100 Received: by kryten.bedford (SMI-8.6/SMI-SVR4) id LAA10914; Fri, 30 Mar 2001 11:07:25 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15044.23261.17066.628202@kryten.bedford.waii.com> Date: Fri, 30 Mar 2001 11:07:25 +0100 From: Pete Forman To: Bruce Momjian Cc: Peter Eisentraut , Tom Lane , Mathijs Brands , Larry Rosenman , PostgreSQL-development Subject: Re: Re: [PORTS] pgmonitor and Solaris In-Reply-To: <200103291702.MAA13902@candle.pha.pa.us> References: <200103291702.MAA13902@candle.pha.pa.us> X-Mailer: VM 6.92 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-Archive-Number: 200103/1516 X-Sequence-Number: 6877 Bruce Momjian writes: > > Tom Lane writes: > > The consequence should be: > > > > 1. check if sendmail works with /usr/bin/ps > > > > 2. a) if yes, figure out what got lost in PostgreSQL > > > > 2. b) if no, make the Solaris case in ps_status.c use the BSD > > approach > > [ I had tried to move this discussion to ports, but hackers is OK > too.] > > Well, this is very interesting. I am glad to hear you based the > current ps_status code on sendmail, which I think is the perfect > way to go. > > I seem to remember the Solaris manual page stating it doesn't > update the ps display, but I may be mixing that up with something > else. I agree /usr/bin/ps is the better option, if we can get it > working. Most people will not remember to use /usr/ucb/ps. 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. -- Pete Forman -./\.- Disclaimer: This post is originated WesternGeco -./\.- by myself and does not represent pete.forman@westerngeco.com -./\.- opinion of Schlumberger, Baker http://www.crosswinds.net/~petef -./\.- Hughes or their divisions.