[dwm] dzen2-gcpubar

From: Lorenzo Bolla <lbolla_AT_gmail.com>
Date: Thu, 14 May 2009 12:31:01 +0100

Hi all,

can someone enlighten me why running dzen2-gcpubar just once (-c 1) always
returns 6% of CPU usage (on my computer)?

$ dzen2-gcpubar -c 1
CPU: 6% ^fg(white)^r(6x10)^fg(darkgrey)^r(94x10)^fg()
$ dzen2-gcpubar -c 1
CPU: 6% ^fg(white)^r(6x10)^fg(darkgrey)^r(94x10)^fg()
$ dzen2-gcpubar -c 1
CPU: 6% ^fg(white)^r(6x10)^fg(darkgrey)^r(94x10)^fg()

Running it perpetually (without -c 1), correctly updates the values...

$ dzen2-gcpubar
CPU: 6% ^fg(white)^r(6x10)^fg(darkgrey)^r(94x10)^fg()
CPU: 5% ^fg(white)^r(5x10)^fg(darkgrey)^r(95x10)^fg()
CPU: 6% ^fg(white)^r(6x10)^fg(darkgrey)^r(94x10)^fg()
CPU: 13% ^fg(white)^r(13x10)^fg(darkgrey)^r(87x10)^fg()
CPU: 15% ^fg(white)^r(15x10)^fg(darkgrey)^r(85x10)^fg()
CPU: 10% ^fg(white)^r(10x10)^fg(darkgrey)^r(90x10)^fg()
CPU: 7% ^fg(white)^r(7x10)^fg(darkgrey)^r(93x10)^fg()
CPU: 7% ^fg(white)^r(7x10)^fg(darkgrey)^r(93x10)^fg()
...

Thanks!
L.
Received on Thu May 14 2009 - 11:31:01 UTC

This archive was generated by hypermail 2.2.0 : Thu May 14 2009 - 11:36:02 UTC