[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] stumpwm-goodies for a better stump experience
From: |
Mikael Jansson |
Subject: |
Re: [STUMP] stumpwm-goodies for a better stump experience |
Date: |
Sun, 08 Nov 2009 12:24:19 +0100 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090608) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Joel Fernandes wrote:
>
> . Mode Line
> A bunch of lisp extensions for mode-line (gives you battery, ip
> addr, date, cpu usage etc..)
>
Just tried the CPU line thingy, but it shows 0% CPU which is certainly
not the case.
.stumpwmrc:
(setf *screen-mode-line-format* (list "[%n] "
'(:eval (format-current-cpu-usage
nil))
" %W"))
and /proc/stat:
cpu 38179248 83633 12957589 134658048 172171 86743 137026 0 0
Any idea why I get zero?
- -- Mikael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkr2qmAACgkQs8liwIiYZgiE8gCePRLoJ0kBjWjNBjONLwrYLWIP
ligAn3cfhr4qGd6dHdw68tDhwAFFYd5+
=DYqK
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [STUMP] stumpwm-goodies for a better stump experience,
Mikael Jansson <=