commit | 997650b9720a3e1302114f0aa37b7625cdf31b85 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Mon Apr 24 23:13:46 2006 +0000 |
committer | Rob Landley <rob@landley.net> | Mon Apr 24 23:13:46 2006 +0000 |
tree | 4a8b6741846f00409eff470ec3a83ba7afe75b5d | |
parent | 56fbd21fa77145486afea2307bcc52b9f05e3154 [diff] |
From Denis Vlasenko: * CPU% = process[i].ticks/sum(process[i].ticks) * busy_cpu_ticks/total_cpu_ticks * got rid of empty line under "Load average" line and used last line - +2 visible processes * do not do float conversion of loadavg, just read it as string from /proc * fix display on small screens * dropped unused .stime, .utime fields * a few variables were renamed * style fixes