Categories
Computer Professional Programming

cpupower

I’ve been reading the Red Hat System Administration I course material and came across an interesting utility: cpupower!

You can use it to view your CPU frequency and set the range it can operate in: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/power_management_guide/tuning_cpufreq_policy_and_speed

Here’s me making my laptop CPU slower 🙂

$ cpupower frequency-info
analyzing CPU 0:
...
current CPU frequency: 2.73 GHz (asserted by call to kernel)
...

$ sudo cpupower frequency-set -u 400000
Setting cpu: 0
...

$ cpupower frequency-info
analyzing CPU 0:
...
current CPU frequency: 400 MHz (asserted by call to kernel)
...