Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 16:58:45 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG
Subject:   Re: RE: cvs commit: src/bin/ps print.c
Message-ID:  <200202210058.g1L0wjS91114@apollo.backplane.com>
References:   <XFMail.020220172753.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

:
:
: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.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

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?200202210058.g1L0wjS91114>