NetBSD Problem Report #48583
From martin@duskware.de Sun Feb 9 16:00:03 2014
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id A287DA64B4
for <gnats-bugs@gnats.NetBSD.org>; Sun, 9 Feb 2014 16:00:03 +0000 (UTC)
Date: Sun, 09 Feb 2014 16:59:59 CET
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: no way to display thread names
X-Send-Pr-Version: 3.95
>Number: 48583
>Category: bin
>Synopsis: no way to display thread names
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Feb 09 16:05:00 +0000 2014
>Last-Modified: Sun Feb 09 17:00:00 +0000 2014
>Originator: Martin Husemann
>Release: NetBSD 6.99.30
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 6.99.30 NetBSD 6.99.30 (NIGHT-OWL) #228: Tue Feb 4 21:48:17 CET 2014 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:
We have functions to set and get a thread name (pthread_setname_np
and pthread_getname_np), but I couldn't find a userland utility to display
them. These is very usefull in heavily threaded apps like Firefox (which
can be taught to properly set thread names).
FreeBSD seems to have a procstat utility for this.
If we find spare option letters, we could also add it to ps(1), and a
top display including it would also be nice.
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc:
Subject: Re: bin/48583: no way to display thread names
Date: Sun, 9 Feb 2014 11:54:20 -0500
On Feb 9, 4:05pm, martin@NetBSD.org (martin@NetBSD.org) wrote:
-- Subject: bin/48583: no way to display thread names
| >Number: 48583
| >Category: bin
| >Synopsis: no way to display thread names
| >Confidential: no
| >Severity: non-critical
| >Priority: medium
| >Responsible: bin-bug-people
| >State: open
| >Class: change-request
| >Submitter-Id: net
| >Arrival-Date: Sun Feb 09 16:05:00 +0000 2014
| >Originator: Martin Husemann
| >Release: NetBSD 6.99.30
| >Organization:
| The NetBSD Foundation, Inc.
| >Environment:
| System: NetBSD night-owl.duskware.de 6.99.30 NetBSD 6.99.30 (NIGHT-OWL) #228: Tue Feb 4 21:48:17 CET 2014 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
| Architecture: x86_64
| Machine: amd64
| >Description:
ps -O lname
top -t
christos
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, martin@NetBSD.org
Subject: Re: bin/48583: no way to display thread names
Date: Sun, 9 Feb 2014 17:59:04 +0100
On Sun, Feb 09, 2014 at 04:55:00PM +0000, Christos Zoulas wrote:
> ps -O lname
Ok, maybe "thread" should be mentionend somewhere in the man page ;-)
Martin
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.