4 ms·
I forget where I got this from but this is an alias you can use to check your CPU speeds alias cpuspeed="watch -n.1 \"cat /proc/cpuinfo | grep \\\"^[c]pu MHz\\
by tonto 5y ago
I forget where I got this from but this is an alias you can use to check your CPU speeds
alias cpuspeed="watch -n.1 \"cat /proc/cpuinfo | grep \\\"^[c]pu MHz\\\"\""
prints out current mhz on all cores, normally you'll see in the 2,000 mhz range (2ghz) and the 400mhz would be quite noticeable. for the record i have a dell precision 7540 with ubuntu from the oem and it has been a journey to make it workable
- bitcharmer 5y agoThis is the worst possible way to measure CPU frequency. Just use turbostat. https://www.linux.org/docs/man8/turbostat.html https://www.linux.org/docs/man8/turbostat.html
- karussell 5y agowhat about nmon? (press 'M' to see the frequencies) for stress testing and monitoring you could try https://github.com/amanusk/s-tui https://github.com/amanusk/s-tui
- bitcharmer 5y agoCool suggestions, thanks for sharing! Two reasons why Turbostat is my weapon of choice here. It's part of the kernel tools package which might be important if you don't have access to outside repos (think CoLo sites, etc). The other reason is acces to tsc frequency which is pretty important in my line of work. I'll definitely give s-tui a try. Looks really nice.