summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.wmii/wmiirc_local2
1 files changed, 1 insertions, 1 deletions
diff --git a/.wmii/wmiirc_local b/.wmii/wmiirc_local
index 4b0330e..8e1321c 100755
--- a/.wmii/wmiirc_local
+++ b/.wmii/wmiirc_local
@@ -21,7 +21,7 @@ status() {
# This doesn't work for me, it shows capacity
#echo -n 'Core MHz:' $(cat /proc/cpuinfo | grep 'cpu MHz' | sed 's/.*: //g; s/\..*//g;')
# This actually displays %idle
- echo -n 'CPU: [ '$(tail -n3 ~/tmp/cputime|sed -u 's/ */\t/g'|cut -f3,12|sed 's/\t\(.*\)/(\1)/')' ]'
+ echo -n 'CPU: [ '$(tail -n3 ~/tmp/cputime|sed -u 's/ */\t/g'|cut -f2,11|sed 's/\t\(.*\)/(\1)/')' ]'
#echo -n ' | '