From owner-freebsd-threads@FreeBSD.ORG Wed Feb 1 12:04:34 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E19F616A420 for ; Wed, 1 Feb 2006 12:04:34 +0000 (GMT) (envelope-from ilyaver@mail.ru) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AE1243D45 for ; Wed, 1 Feb 2006 12:04:34 +0000 (GMT) (envelope-from ilyaver@mail.ru) Received: from [212.248.54.61] (port=1930 helo=ASD-73A57321383) by mx2.mail.ru with esmtp id 1F4Giu-0008gg-00 for freebsd-threads@freebsd.org; Wed, 01 Feb 2006 15:04:32 +0300 Date: Wed, 1 Feb 2006 15:04:29 +0300 From: Ilya E Veretenkin X-Mailer: The Bat! (v3.0) Professional X-Priority: 3 (Normal) Message-ID: <408955619.20060201150429@mail.ru> To: freebsd-threads@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Subject: getting particular thread cpu time X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ilya E Veretenkin List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 12:04:35 -0000 Здравствуйте, freebsd-threads. Hello. I am writing a multi-threaded application and want to see the cpu usage of each thread of this application. I know that 'ps -H' outputs cpu usage information for threads, but how can I found out the correspondence between particular thread in 'ps-H' output and particular thread ID in my application? -- С уважением, Ilya mailto:ilyaver@mail.ru