2018-01-08 12:02:34 +00:00
|
|
|
# cpufreq-aperf
|
|
|
|
|
|
|
|
> Calculate the average CPU frequency over a time period.
|
|
|
|
> Requires root privileges.
|
2021-07-09 15:45:55 +01:00
|
|
|
> More information: <https://manned.org/cpufreq-aperf>.
|
2018-01-08 12:02:34 +00:00
|
|
|
|
|
|
|
- Start calculating, defaulting to all CPU cores and 1 second refresh interval:
|
|
|
|
|
|
|
|
`sudo cpufreq-aperf`
|
|
|
|
|
|
|
|
- Start calculating for CPU 1 only:
|
|
|
|
|
|
|
|
`sudo cpufreq-aperf -c {{1}}`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Start calculating with a 3 second refresh interval for all CPU cores:
|
2018-01-08 12:02:34 +00:00
|
|
|
|
|
|
|
`sudo cpufreq-aperf -i {{3}}`
|
|
|
|
|
|
|
|
- Calculate only once:
|
|
|
|
|
|
|
|
`sudo cpufreq-aperf -o`
|