From owner-freebsd-hackers Mon Feb 5 20:47:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id AABFD37B491 for ; Mon, 5 Feb 2001 20:47:22 -0800 (PST) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.9.3) with SMTP id f164jJi30661; Mon, 5 Feb 2001 23:45:20 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <004301c08ff9$02549460$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "xuyifeng" , References: <1439047499.20010206111156@stocke.com> Subject: Re: make top better Date: Mon, 5 Feb 2001 23:55:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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