diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-03-22 22:37:16 +0100 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-03-22 22:37:16 +0100 |
commit | aeacd873392686f4fc12d93dab82903d1140f974 (patch) | |
tree | f09187025ea0415123ba92d8793b39c215653db3 /ratpoison/panel/load | |
parent | 823581bd7c5e5904eab5884f999a39b5f9e895b4 (diff) | |
download | dotfiles-aeacd873392686f4fc12d93dab82903d1140f974.tar.gz dotfiles-aeacd873392686f4fc12d93dab82903d1140f974.tar.bz2 dotfiles-aeacd873392686f4fc12d93dab82903d1140f974.zip |
many + uzbl
Diffstat (limited to 'ratpoison/panel/load')
-rwxr-xr-x | ratpoison/panel/load | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ratpoison/panel/load b/ratpoison/panel/load index 3977bee..a1dbcdb 100755 --- a/ratpoison/panel/load +++ b/ratpoison/panel/load @@ -1,6 +1,6 @@ #!/bin/bash while true; do -cpu=`mpstat -P ALL 2 1 | grep "Average.*all" | awk '{print $3+$5}'` +cpu=`mpstat -P ALL 10 1 | grep "Average.*all" | awk '{print $3+$5}'` mem=`free | grep Mem | awk '{print $3/$2 * 100.0}'` printf "C%.*f\n" 1 $cpu printf "R%.*f\n" 0 $mem |