Date: 21 Jun 2001 21:55:02 +0200 From: Cyrille Lefevre <clefevre-lists@noos.fr> To: Chris Wasser <cwasser@v-wave.com> Cc: Kelly Yancey <kbyanc@posi.net>, arch@FreeBSD.ORG Subject: Re: netbsd rc system diff Message-ID: <8zilfw15.fsf@gits.dyndns.org> In-Reply-To: <20010617163431.G582@skunkworks.arpa.mil> References: <20010617150050.F582@skunkworks.arpa.mil> <Pine.BSF.4.21.0106171507560.68064-100000@gateway.posi.net> <20010617163431.G582@skunkworks.arpa.mil>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris Wasser <cwasser@v-wave.com> writes: > On Sun 17 Jun 2001, Kelly Yancey wrote: [snip] > > 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 > > That would remove the check in rc.subr for the header: > > if [ "$_npid" = "PID" ]; then > continue > fi > > Seems like a good idea to me :) this fork an unneeded process and I'm not sure this speed up things. the test should suffice. Cyrille. -- home: mailto:clefevre@redirect.to UNIX is user-friendly; it's just particular work: mailto:Cyrille.Lefevre@edf.fr about who it chooses to be friends with. 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?8zilfw15.fsf>