From owner-freebsd-questions@FreeBSD.ORG Fri Nov 28 10:18:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71DA0106567A for ; Fri, 28 Nov 2008 10:18:52 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from kennaway-macbookpro.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0B6218FC0A; Fri, 28 Nov 2008 10:18:50 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <492FC589.2090001@FreeBSD.org> Date: Fri, 28 Nov 2008 02:18:49 -0800 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Ott_K=F6stner?= References: <49202F59.7050802@zzz.ee> <20081116144057.GA3864@icarus.home.lan> <492034B8.9020903@zzz.ee> <492F4086.7040403@FreeBSD.org> <492F95B9.8050506@zzz.ee> <492F9899.9030506@FreeBSD.org> <492FAF64.50507@zzz.ee> <492FB1C1.8070808@FreeBSD.org> <492FBD85.8030604@zzz.ee> In-Reply-To: <492FBD85.8030604@zzz.ee> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: top incorrectly reporting process time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2008 10:18:52 -0000 Ott Köstner wrote: > Here is the problem. top returns only 9:42 -- the time of the first > thread. ps returns the sum of the thread times, which is correct. OK, I thought you were claiming the numbers were completely unrelated. Yeah, top and ps are just reporting different things (runtime of one thread vs total runtime of all threads). top may have a configuration option about aggregating the thread runtimes, or it may require a source code change. Kris