top incorrectly reporting process time
Kris Kennaway
kris at FreeBSD.org
Fri Nov 28 02:18:52 PST 2008
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
More information about the freebsd-questions
mailing list