From f34be2177db4152ef8857a2362afa35c029fa314 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 11 Apr 2012 22:39:36 -0400 Subject: wmiirc_local: cputime changed a little --- .wmii/wmiirc_local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ' | ' -- cgit v1.1-4-g5e80