Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2008 02:18:49 -0800
From:      Kris Kennaway <kris@FreeBSD.org>
To:        =?ISO-8859-1?Q?Ott_K=F6stner?= <OttK@zzz.ee>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: top incorrectly reporting process time
Message-ID:  <492FC589.2090001@FreeBSD.org>
In-Reply-To: <492FBD85.8030604@zzz.ee>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?492FC589.2090001>