The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

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
⇧ Disable syntax highlighting in Geany How can I pin a specific document so I can access it easily and frequently?  β‡©