!Get Root Acces
#su
!Read CPU information
#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
!Make the files writable
#chmod 666 /sys/devices/system/cpu/cpu0/online
#chmod 666 /sys/devices/system/cpu/cpu1/online
#chmod 666 /sys/devices/system/cpu/cpu2/online
#chmod 666 /sys/devices/system/cpu/cpu3/online
#chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
#echo 1 > /sys/devices/system/cpu/cpu0/online && chmod 444 /sys/devices/system/cpu/cpu0/online
#echo 1 > /sys/devices/system/cpu/cpu1/online && chmod 444 /sys/devices/system/cpu/cpu1/online
#echo 1 > /sys/devices/system/cpu/cpu2/online && chmod 444 /sys/devices/system/cpu/cpu2/online
#echo 1 > /sys/devices/system/cpu/cpu3/online && chmod 444 /sys/devices/system/cpu/cpu3/online
!Set CPU scaling to interactive and make the file readonly
#echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor && chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Good Luck.
No comments:
Post a Comment