Date: Tue, 10 Apr 2001 16:43:24 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Kirk McKusick <mckusick@mckusick.com> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Bruce Evans <bde@zeta.org.au>, Brian Somers <brian@Awfulhak.org> Subject: Re: cvs commit: src/bin/ps ps.c Message-ID: <XFMail.010410164324.jhb@FreeBSD.org> In-Reply-To: <200104102322.QAA41663@beastie.mckusick.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[ more to Brian than to Kirk ] On 10-Apr-01 Kirk McKusick wrote: > In general, I removed the fields that were pointers as they > seemed rather useless to me on output. If there is a constituency > out there that finds looking at kernel addresses to be useful, > I have no objection to them being added back (provided that it > is done in a way that follows the rules so that it does not > break ps and friends). > > Kirk McKusick If all that is needed is a uniquifier for sessions, then why not use the actual session ID itself: s_sid? It's already provided in kinfo_proc as ki_sid even, ps(1) just doesn't use it at the moment. That is probably much easier to parse than a kernel address. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010410164324.jhb>