Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2001 13:27:28 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        arch@FreeBSD.org
Cc:        Chris Wasser <cwasser@v-wave.com>
Subject:   Re: netbsd rc.subr diff #2
Message-ID:  <20010619132728.A40002@ringworld.oblivion.bg>
In-Reply-To: <20010618180052.B540@dragon.nuxi.com>; from arch@freebsd.org on Mon, Jun 18, 2001 at 06:00:52PM -0700
References:  <20010617164716.H582@skunkworks.arpa.mil> <20010618180052.B540@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 18, 2001 at 06:00:52PM -0700, David O'Brien wrote:
> On Sun, Jun 17, 2001 at 04:47:17PM -0600, Chris Wasser wrote:
> > -	ps -p $_pid -o 'pid,command' | while read _npid _arg0 _argv; do
> > -		if [ "$_npid" = "PID" ]; then
> > -			continue
> > -		fi
> > +	ps -p $_pid -o 'pid,command' | tail +2 | sort +1 | while read _npid _arg0 _argv; do
> 
> 
> Will people say the 2 added |'s slows things down [too much]?
> Remember NetBSD runs on some rather slow, old hardware.

And also..  Apologies for the stupid question, but - could this ever
be invoked before /usr is mounted and /usr/bin/tail and /usr/bin/sort
are available?

G'luck,
Peter

-- 
This inert sentence is my body, but my soul is alive, dancing in the sparks of your brain.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010619132728.A40002>