View Single Post
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#54
https://bugs.maemo.org/show_bug.cgi?id=9938
Would be nice to have time% in different CPU states visible in Conky.
Would require one extra line, or then to change CPU-Usage-line to have shorter
graph to get different Mhz:s there from
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state

Temperature in overclocked/lowvoltage/custom kernels is in
/sys/class/power_supply/bq27200-0/temp

There is time_in_state.sh script found in overclock thread in talk.maemo.org
which outputs something like this:
"
# time_in_state.sh

SCRIPT FOR ANALYZING TIME_IN_STATE
By rooted (maemo.org)
Revision 6

The script is in active development.
Update your script to current revision from:
wiki.maemo.org/Overclocking

Code:
FREQUENCY       USED            WHEN BUSY

600 MHz         1.7 %           44.4 %
550 MHz         0.0 %           1.1 %
500 MHz         2.1 %           54.5 %
250 MHz         96.2 %          
cat: can't open '/sys/class/power_supply/bq27200-0/temp': No such file or
directory

Current frequency:   250 MHz
Idle frequency:      250 MHz
Kernel:              2.6.28-omap1
kernel-maemo:        
Uptime:              17:03
Load:                0.36, 0.36, 0.30
Boot reason:         sw_rst
Temperature:          °C
"

Last edited by zimon; 2010-04-16 at 10:19.