Hi.

Just in case anyone is interested here is another gadget for your 
statusbar or for use with dzen, a cpu usage meter.

It was designed to work with Linux and relies on the existance of
"/proc/stat".

Usage: cpubar [-c <charcount>] [-s <symbol>] [-i <interval>]

With:
        charcount = number of chars to be considered 100%
                    (defaults to 25)
        symbol    = a single character representing the corresponding
                    percentage value (defaults to '=')
        interval  = update interval in seconds (defaults to 1)


Used with dzen it could looks like this:
    http://omploader.org/file/xmonad-cpubar.png

Get cpubar here:
    http://gotmor.googlepages.com/cpubar.c


The commandline for the above shot:
    cpubar | \
        dzen2 -bg '#aecfaa' -fg black -w 235 -ta l \
        -fn '-*-profont-*-*-*-*-11-*-*-*-*-*-iso8859' \ 
        -x 350 -e 'button1=exec:uterm -e htop'

Bye, Rob.

Reply via email to