July 29 2014 6:19 PM, "J.C. Cleaver" wrote:
That being said, this seems patch-worthy to at least give a more accurate
visual output. Wonder how non-Linux `top`'s deal with this...
FreeBSD: No CPU statistics shown in batch mode. In interactive mode the CPU statistics are blank until the second poll.
OpenBSD: Similar behavior to Linux. Their BUGS section in the man page says this:
BUGS
As with ps(1), things can change while top is collecting information for
an update. The picture it gives is only a close approximation to
reality.