From owner-p4-projects@FreeBSD.ORG Mon May 3 11:53:00 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6FB2B16A4D3; Mon, 3 May 2004 11:53:00 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A3D316A4CE; Mon, 3 May 2004 11:53:00 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0D9243D2F; Mon, 3 May 2004 11:52:59 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (localhost [127.0.0.1]) by ns1.xcllnt.net (8.12.11/8.12.11) with ESMTP id i43IqxKo055755; Mon, 3 May 2004 11:52:59 -0700 (PDT) (envelope-from marcel@ns1.xcllnt.net) Received: (from marcel@localhost) by ns1.xcllnt.net (8.12.11/8.12.11/Submit) id i43Iqxdk055754; Mon, 3 May 2004 11:52:59 -0700 (PDT) (envelope-from marcel) Date: Mon, 3 May 2004 11:52:59 -0700 From: Marcel Moolenaar To: John Baldwin Message-ID: <20040503185259.GC55675@ns1.xcllnt.net> References: <200405020130.i421U4QZ083887@repoman.freebsd.org> <200405031358.09996.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200405031358.09996.jhb@FreeBSD.org> User-Agent: Mutt/1.5.5.1i cc: Perforce Change Reviews Subject: Re: PERFORCE change 52052 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 18:53:00 -0000 On Mon, May 03, 2004 at 01:58:09PM -0400, John Baldwin wrote: > On Saturday 01 May 2004 09:30 pm, Marcel Moolenaar wrote: > > http://perforce.freebsd.org/chv.cgi?CH=52052 > > > > Change 52052 by marcel@marcel_nfs on 2004/05/01 18:29:05 > > > > Add commands to set and show threads. Needs fleshing out. > > While here, cleanup a lot of unused code. > > I really wish we could get this back into close to 80 cols again. Me too. Especially on 64-bit machines, the output of ps is just plain unreadable. Let me know what you really like to see in a thread list and I'll see if I can make it fit. We can also put certain info under the "thread [tid]" command. For example: the address of struct thread does not have to be printed with "show threads", but it's probably a good idea to print it with "thread [tid]" so that it can be dumped easily. > Was > thinking of having the thread inhibitors listed with one-char flags that were > - if the flag as clear and a letter (S - sleeping, L - lock, W - swapped, > etc.) and still have a single wchan/wmesg field that lists lock name for if > TDI_LOCK is set, otherwise wmesg if on a sleep queue, etc. I'm open to suggestions. We can even use modifiers to control the output. No modifier gives the same behaviour as in gdb(1); the "l" modifier prints lock information. The "p" modifier shows the process specifics and so on. Send brain dumps this way... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net