From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 7 17:54:41 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34DB81065672 for ; Wed, 7 Oct 2009 17:54:41 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id BA18C8FC16 for ; Wed, 7 Oct 2009 17:54:40 +0000 (UTC) Received: by ewy18 with SMTP id 18so8583466ewy.43 for ; Wed, 07 Oct 2009 10:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=IsFuq/lhQben4O7TlNTXZsM5df+mwI+0oJ7Xhn2vbn0=; b=PambxIN2pvwLbzv6uTAI5YeSSn8qj2zyVkYfztSv2ykGMVDEEewiBrDDNPunXC1YEI sC776EmOH0wZf+q0cYl/pulwWMQ/TD+guiJ6h6Qmt4my+25ciGG2QeHfcMCpDKrtn6GQ Xe1ZJkCIOOT1GU1ShaFv68NrKprWHmYgBNnAg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZHccYeDGzJRuXqNZaklY0aMOh7uow4HMXZjOpgiL+I75x9SbBc2RJoAn7QQF5jEmzl qv3ALgDPlGqsxTM7dzfMlE2pjtTT90V3/N8s753sZX0KYu6/j8xulh6AItDj/Q9oM12E kdd4dE0AIvb0uvUw8SKoZ+xFGno7Rz5D42vRQ= MIME-Version: 1.0 Received: by 10.211.131.12 with SMTP id i12mr6899367ebn.97.1254938079696; Wed, 07 Oct 2009 10:54:39 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 Oct 2009 13:54:39 -0400 Message-ID: From: Ryan Stone To: Andrew Brampton Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org Subject: Re: Make top display thread IDs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 17:54:41 -0000 If a thread has a name, top -H will display it in parentheses after the executable name. One option would be to print the tid there if the thread has no name.