The -u flag to top is supposed to limit uid lookups. But, it was still
spinning through the entire password database with while (getpwent()). At
Cisco, which has a fairly large NIS database, this takes forever, and top
never starts.
I filed this bug to address it:
http://www.freebsd.org/cgi/query-pr.cgi?pr=119490
The attached patch fixes it. This is my first submission, so let me know if
this is the proper order, etc, to post the patches (i.e. file the bug, the
post a fix)
-Dave