From owner-freebsd-arch Sun Jun 17 15:12:41 2001 Delivered-To: freebsd-arch@freebsd.org Received: from gateway.posi.net (c1096725-a.smateo1.sfba.home.com [24.250.130.228]) by hub.freebsd.org (Postfix) with ESMTP id BF83C37B409 for ; Sun, 17 Jun 2001 15:12:36 -0700 (PDT) (envelope-from kbyanc@posi.net) Received: from localhost (kbyanc@localhost) by gateway.posi.net (8.11.3/8.11.3) with ESMTP id f5HMCK568155; Sun, 17 Jun 2001 15:12:20 -0700 (PDT) (envelope-from kbyanc@posi.net) X-Authentication-Warning: gateway.posi.net: kbyanc owned process doing -bs Date: Sun, 17 Jun 2001 15:12:19 -0700 (PDT) From: Kelly Yancey To: Chris Wasser Cc: arch@FreeBSD.ORG Subject: Re: netbsd rc system diff In-Reply-To: <20010617150050.F582@skunkworks.arpa.mil> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 17 Jun 2001, Chris Wasser wrote: > b) some processes use setproctitle(3) to change how the process > report will show up in a report, to overcome this problem, we > sort the process report so that () and // are placed first in the > report, reducing potential false positive matches: > > # ps -ax -o 'pid,command' | sort +1 > Minor nit: would you mind running the ps output through tail first to trim off the header. It doesn't correlate well in the sorted output. # ps -ax -o 'pid,command' | tail +2 | sort +1 -- Kelly Yancey - kbyanc@posi.net - Belmont, CA Lead Engineer, Backplane, Inc. http://www.backplane.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message