diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-29 12:13:43 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-29 12:13:43 -0500 |
commit | cbd6ae1cc7374e9c825642751bfa146c7cc0a5a8 (patch) | |
tree | 4deb4424b115b3215bc696ac467149368b97d79d /.config/wmii-hg/rbar_cpu | |
parent | af7fca016ab0e83c129147f8102dc8ee893571a8 (diff) | |
parent | a19e716cf26fa4a67fe676d0822c96425d528903 (diff) |
Merge branch 'gluglugt60-par'
Diffstat (limited to '.config/wmii-hg/rbar_cpu')
-rwxr-xr-x | .config/wmii-hg/rbar_cpu | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/.config/wmii-hg/rbar_cpu b/.config/wmii-hg/rbar_cpu deleted file mode 100755 index 5531e60..0000000 --- a/.config/wmii-hg/rbar_cpu +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -. include.sh - -priority=$1 - -while connected_to_x_server; 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;') >> "$WMII_DIR/rbar/${priority}_cpu" - # This actually displays %idle - echo 'label CPU: [ '$(tail -n3 ~/tmp/cputime|sed -ur 's/\s\s+/\t/g'|cut -f2,11|sed 's/\t\(.*\)/(\1)/')' ]' >> "$WMII_DIR/rbar/${priority}_cpu" - sleep 1 -done |