httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: sun4 and apachectl
Date Wed, 03 Jun 1998 22:49:52 GMT
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 <http://www.faqs.org/faqs/unix-faq/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
> 


Mime
View raw message