top under 5.3-RELEASE
Sean_Welch at alum.wofford.org
Mon Nov 29 08:16:40 PST 2004
On Mon, Nov 29, 2004 at 09:48:05AM -0600, Dan Nelson wrote:
> For things like port builds, you end up with a lot of very short-lived
> processes (sh, sed, cc, etc). Those either don't show up in top at all
> becuase they have started and exited between the sampling intervals, or
> else have not accumulated enough CPU time to register any %CPU (which
> is a weighted average over time).
Ah. Thank you for filling me in.
> The values should total up better when you have processes that hang
> around a bit more. There was a regression in 5.3's libpthreads that
> can make it report 0 CPU, so if you have some CPU-hungry threaded
> programs, they may not show up in top at all even though they're using
> 100% cpu. libthr and libc_r report CPU correctly.
Okay. Mostly what I've been seeing so far is the first scenario (as
I'm still trying to set up the system the way I like it), but I'll
file away the second for when I start hammering it in normal use.
More information about the freebsd-current