From owner-freebsd-java@FreeBSD.ORG Tue Jan 20 20:52:44 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABE1D1065680 for ; Tue, 20 Jan 2009 20:52:44 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from www.kjkoster.org (kjkoster.org [80.101.182.197]) by mx1.freebsd.org (Postfix) with ESMTP id 2DDDB8FC19 for ; Tue, 20 Jan 2009 20:52:43 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from [192.168.0.1] (mac [192.168.0.1]) by www.kjkoster.org (8.14.3/8.14.3) with ESMTP id n0KKtmmj024386 for ; Tue, 20 Jan 2009 21:55:56 +0100 (CET) (envelope-from kjkoster@kjkoster.org) Message-Id: From: Kees Jan Koster To: freebsd-java@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 20 Jan 2009 21:52:34 +0100 X-Mailer: Apple Mail (2.930.3) Subject: Improve top -H output X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 20:52:45 -0000 Dear Java porters, Is there any way to improve the output of top -H? Currently top -H shows one line per Java thread in my Java processes (excellent feature!!), but all lines have the same name and pid (bummer). Is there any way to get the Java thread name and/of the Java object number into the name portion of the thread in top -H? That would make resolving infinite loops a breeze. -- Kees Jan http://java-monitor.com/forum/ kjkoster@kjkoster.org 06-51838192 The secret of success lies in the stability of the goal. -- Benjamin Disraeli