Date: Wed, 20 Feb 2002 23:47:46 -0500 (EST) From: John Baldwin <jhb@FreeBSD.org> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: RE: cvs commit: src/bin/ps print.c Message-ID: <XFMail.020220234746.jhb@FreeBSD.org> In-Reply-To: <200202210058.g1L0wjS91114@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21-Feb-02 Matthew Dillon wrote: > >: >: >:On 16-Feb-02 Matt Dillon wrote: >:> dillon 2002/02/16 12:10:00 PST >:> >:> Modified files: >:> bin/ps print.c >:> Log: >:> When blocked on a mutex, display the mutex name via the wchan string >:> field >:> so we can at least tell the difference between being blocked in Giant >:> and being blocked in some other mutex. >: >:ps -o mtxname >: >::) >: >:The manpage even documents this. :) >: >:-- >: >:John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ >:"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > > It's a lot easier to just have ps axl show it, since the wchan > field is otherwise unused. Alternatively we could create a > synthesize field 'mwchan' which replaces the default 'wchan' for > ps output that does this combo. Sounds good to me. I actually did something like this for top. In top I had all mutex names start with a * to differentiate them from wait channel names, can you do a similar thing for mwchan? > -Matt > Matthew Dillon > <dillon@backplane.com> -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "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.020220234746.jhb>