Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 6216 invoked by uid 6000); 3 Jun 1998 22:35:24 -0000 Received: (qmail 6204 invoked from network); 3 Jun 1998 22:35:23 -0000 Received: from twinlark.arctic.org (204.62.130.91) by taz.hyperreal.org with SMTP; 3 Jun 1998 22:35:23 -0000 Received: (qmail 12799 invoked by uid 500); 3 Jun 1998 22:49:52 -0000 Date: Wed, 3 Jun 1998 15:49:52 -0700 (PDT) From: Dean Gaudet To: new-httpd@apache.org Subject: Re: sun4 and apachectl In-Reply-To: <19980603151029.A14804@io.com> 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 bind's ndc uses "ps -p $pid"... which I think is why Marc implemented apachectl that way. Yet another option is "kill -0 $pid". Dean On Wed, 3 Jun 1998, Manoj Kasichainula wrote: > On Wed, Jun 03, 1998 at 10:58:15AM -0700, Dean Gaudet wrote: > > There's already a bug in the bugdb about this. > > 2285 > > > Unfortunately I don't think "ps p $pid" or "ps $pid" works everywhere > > either. > > This is the kind of problem that has been solved a zillion times. > There should be a platform-independdant solution out there somewhere, > right? > > I checked the Unix FAQ which > didn't have a portable solution. I'm guessing the OS will have to be > checked for in apachectl. > > -- > Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/ > "Would you die for The One?" > "I wouldn't get pizza for the one. That ain't my job." - J.M. Straczynski >