From owner-freebsd-arch Mon Jun 18 18: 1: 0 2001 Delivered-To: freebsd-arch@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [206.40.252.115]) by hub.freebsd.org (Postfix) with ESMTP id 46AA437B406 for ; Mon, 18 Jun 2001 18:00:54 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f5J10q900728; Mon, 18 Jun 2001 18:00:52 -0700 (PDT) (envelope-from obrien) Date: Mon, 18 Jun 2001 18:00:52 -0700 From: "David O'Brien" To: Chris Wasser Cc: arch@freebsd.org Subject: Re: netbsd rc.subr diff #2 Message-ID: <20010618180052.B540@dragon.nuxi.com> Reply-To: arch@freebsd.org References: <20010617164716.H582@skunkworks.arpa.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010617164716.H582@skunkworks.arpa.mil>; from cwasser@v-wave.com on Sun, Jun 17, 2001 at 04:47:17PM -0600 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message