Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 6750 invoked by uid 6000); 4 Jun 1998 19:43:21 -0000 Received: (qmail 6742 invoked from network); 4 Jun 1998 19:43:19 -0000 Received: from twinlark.arctic.org (204.62.130.91) by taz.hyperreal.org with SMTP; 4 Jun 1998 19:43:19 -0000 Received: (qmail 28708 invoked by uid 500); 4 Jun 1998 19:59:46 -0000 Date: Thu, 4 Jun 1998 12:59:46 -0700 (PDT) From: Dean Gaudet To: new-httpd@apache.org Subject: Re: Summary of my 1.3.0 testing. In-Reply-To: <199806041904.PAA26224@siam.gensym> Message-ID: X-Comment: Visit http://www.arctic.org/~dgaudet/legal for information regarding copyright and disclaimer. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org On Thu, 4 Jun 1998, Ben Hyde wrote: > 2. [sun4, solaris] ps doesn't like -p > (I resolved by removing it) I wonder if something like this would be portable: # guess that ps -p works PS="ps -p" # assume pid 1 exists, and try a few other ps options to see # which one this system supports if ps p 1 >/dev/null 2>/dev/null; then PS="ps p" else if ps 1 >/dev/null 2>/dev/null; then PS="ps" fi fi if $PS $pid >/dev/null 2>/dev/null; then echo $pid exists else echo $pid not there fi Dean