Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2001 23:55:20 -0500
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "xuyifeng" <xyf@stocke.com>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: make top better
Message-ID:  <004301c08ff9$02549460$1200a8c0@gsicomp.on.ca>
References:  <1439047499.20010206111156@stocke.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
>
>   "top" always puts CPU idle time in last, but I think in CPU states,
> idle is most important field, could anyone move idle field to first.

It all depends on your focus.

Someone using FreeBSD as a terminal or fax server with a whole bunch of
serial devices might want "interrupt" first.  Someone running an Apache /
mod_perl / DBI machine might want "system" first.  Someone running a server
as a development / shell box might want "user" first.  And someone running
rc5 really doesn't care about idle or nice (since on my 3 boxes idle is
usually 0.0% and nice is around 90%, which of course skews the "true" load
of the system.)

Furthermore, anyone using 'top -d' in a shell script to grab and report CPU
usage data would have to change their scripts.

With this in mind, I doubt a compelling reason can be formulated to make
*any* field first, so it would be best to leave it the way it is.

--
Matt Emmerton



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?004301c08ff9$02549460$1200a8c0>