summaryrefslogtreecommitdiff
path: root/.wmii
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-04-11 22:39:36 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-04-11 22:39:36 -0400
commitf34be2177db4152ef8857a2362afa35c029fa314 (patch)
tree3cd064ad83a3d8662a9e6adb8d741524a04aa5b7 /.wmii
parent3c410aa763db445e363ec78353751573defcda1d (diff)
wmiirc_local: cputime changed a little
Diffstat (limited to '.wmii')
-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 ' | '