Re: [wmii] Re: Adding cpu usage to status bar

From: Jesús Gabriel y Galán <jgabrielygalan_AT_gmail.com>
Date: Wed, 6 May 2009 09:40:55 +0200

On Tue, May 5, 2009 at 10:46 PM, Kris Maglione <maglione.k_AT_gmail.com> wrote:
> I've lately used iostat,

Thanks, I'll look into it.

>> To be honest, getting CPU 'usage' is pretty pointless as it's either busy,
>> idle or busy waiting on IO.  You should be using loadavg really as
>> instantaneous CPU usage tells you nothing.

I already show load averages in the status bar, but I find CPU usage
interesting information anyway.

Also thanks, Manuel, for the suggestion of the -b option for top,
although as Kris pointed
out, top might be a bit slow for a status script.

Jesus.
Received on Wed May 06 2009 - 07:40:55 UTC

This archive was generated by hypermail 2.2.0 : Wed May 06 2009 - 08:00:07 UTC