bottom icon indicating copy to clipboard operation
bottom copied to clipboard

CPU Frequencies

Open what-next-github opened this issue 4 years ago • 4 comments

Describe the feature request

Adding CPU frequencies to the CPU Chart would be nice. I'm not sure if having the CPU governor listed would be necessarily as useful (or where that would fit into the chart).

what-next-github avatar Aug 15 '21 13:08 what-next-github

Supporting this, CPU frequency is very useful when paired with package temperatures, it provides useful insight into system behaviour and perf profile.

xmo-odoo avatar Mar 02 '22 07:03 xmo-odoo

watch -n 1 "grep \"^[c]pu MHz\" /proc/cpuinfo"

yozachar avatar Mar 16 '24 07:03 yozachar

https://github.com/ClementTsang/bottom/issues/568#issuecomment-2001893574

@yozachar, worth prefixing that with sh like

sh -c 'watch -n 1 "grep \"^[c]pu MHz\" /proc/cpuinfo"'

since it doesn't work in some non-POSIX other shells like PS:

  1. watch -n 1 "grep \"^[c]pu MHz\" /proc/cpuinfo"
    
  2. Every 1.0s: grep \ ^[c]pu MHz\ /proc/cpuinfo           s1e8h4: Sat Mar 16 10:37:50 2024
    
    grep: MHz /proc/cpuinfo: No such file or directory
    

RokeJulianLockhart avatar Mar 16 '24 10:03 RokeJulianLockhart