Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 1998 15:44:51 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        ben@rosengart.com, hackers@FreeBSD.ORG
Subject:   Re: top doesn't know a process's time?
Message-ID:  <19980607154451.A10961@emsphone.com>
In-Reply-To: <Pine.GSO.3.96.980607160152.19688A-100000@echonyc.com>; from "Snob Art Genre" on Sun Jun  7 16:02:55 GMT 1998
References:  <Pine.GSO.3.96.980607160152.19688A-100000@echonyc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 07), Snob Art Genre said:
> I've never seen this before -- under the "TIME" header, top just has
> three question marks for this process.  Could it have something to do
> with the process being multithreaded?

I doubt it.  How long has the process been running?

> 
>   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
>   287 ben      105  19   840K   608K RUN       ??? 85.18% 85.18% rc5des

 PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
 2248 dan     105  19   836K   332K RUN    122.3H 96.09% 96.09% rc5desbsd       

I could imagine it having a problem when the field hits "9999.9".  In
fact, in /usr/src/contrib/top/utils.c, line ~375 seems to check against
seconds > (99999*360), which is close enough.

How long HAS that process been running???  To trigger the "???" code,
it would have to be running for over a year?

	-Dan Nelson
	dnelson@emsphone.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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