Subject: Re: /etc/rc.d/ runs slowsly
To: None <tech-userlevel@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: tech-userlevel
Date: 04/11/2000 16:50:13
Simon Burge wrote:
> [ redirected to tech-userlevel, bcc'd to current-users and dropped
> from port-mips, port-pmax - it's not port specific ]
>
> Simon Burge wrote:
>
> > Manuel Bouyer wrote:
> >
> > > On Sat, Apr 08, 2000 at 11:37:31PM -0400, Greg A. Woods wrote:
> > > > [...]
> > > > WARNING: this patch uses 'fgrep' even though it isn't in /usr/bin. I
> > > > can get away with this because I keep /usr on my root filesystem (where
> > > > it belongs! :-). If it's not appropriate to move 'grep' to /bin for the
> > >
> > > Maybe the functionality you're looking for should just be intergrated into
> > > ps ?
> >
> > How about "ps -n <procname>", modified by -c to pick p_comm instead?
> > I'm nearly finished some other ps(1) changes and can easily add this...
A little more on this - I've just tried using "faststart" instead of
"start" in /etc/rc, and the boot up times on my pmax are the same
with either method. If that's the case, then I guess there's no use
optimising ps(1) on the basis that booting will be faster. Sound fair?
Simon.