Views:
316,167β
Votes: 12β
Tags:
linux
cpu
Link:
π See Original Answer on Unix & Linux β§ π
URL:
https://unix.stackexchange.com/q/463736
Title:
What is the correct way to view your CPU speed on Linux?
ID:
/2018/08/20/What-is-the-correct-way-to-view-your-CPU-speed-on-Linux_
Created:
August 20, 2018
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
CPU frequencies are kept in the kernel but they can be a little βoffβ. You can see them using:
$ cd /sys/devices/system/cpu
$ paste <(cat cpu*/cpufreq/affected_cpus) <(cat cpu*/cpufreq/scaling_cur_freq) | column -s $'\t' -t
0 833914
1 800021
2 800086
3 800029
4 800036
5 800460
6 800118
7 800141
If you donβt need to know the CPU #βs a shorter method is simply using:
$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
1396354
800058
800050
800024
800005
800017
800001
1392006