Top output isn't quite right

Dan Nelson dnelson at allantgroup.com
Sat Jul 16 19:24:21 GMT 2005


In the last episode (Jul 16), Louis LeBlanc said:
> I'm confused about the output from top in 5.4-RELEASE-p4.  The
> gkrellm CPU monitor is telling me I'm running at 95% load while
> updating the portsdb, but top tells me everything is taking 0.0% of
> the CPU.

portsdb -U ends up running a lot of very short-lived processes which
don't exist long enough to accumulate enough CPU to show up in top.
Watch the "last pid" number and you should see it increment between 100
and 500 per second.  If you have process accounting enabled you can run
"lastcomm" to see the commands themselves.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list