diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-27 15:24:05 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-27 15:24:05 -0400 |
commit | 674efbf431f2c1c879c9bfed05f7ed6adce22351 (patch) | |
tree | b873ec80e45fb1bd9a414bb25c4e27d68c8861cf /.wmii/rbar_cpu | |
parent | de9c3e08412ae13cc8a2d1e4418d9e9257f67518 (diff) |
pre-merge move
Diffstat (limited to '.wmii/rbar_cpu')
-rwxr-xr-x | .wmii/rbar_cpu | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/.wmii/rbar_cpu b/.wmii/rbar_cpu deleted file mode 100755 index 7f891da..0000000 --- a/.wmii/rbar_cpu +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -. "$HOME/.wmii/include.sh" - -priority=$1 - -set -e -while true; do - # This doesn't work for me, it shows capacity - #echo -n 'Core MHz:' $(cat /proc/cpuinfo | grep 'cpu MHz' | sed 's/.*: //g; s/\..*//g;') |a "$WMII_DIR/rbar/${priority}_cpu" - # This actually displays %idle - echo 'CPU: [ '$(tail -n3 ~/tmp/cputime|sed -ur 's/\s\s+/\t/g'|cut -f2,11|sed 's/\t\(.*\)/(\1)/')' ]' |a "$WMII_DIR/rbar/${priority}_cpu" - sleep 1 -done |