1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 20:02:09 +02:00
tldr/pages/linux/cpufreq-aperf.md
2018-01-08 17:32:34 +05:30

20 lines
428 B
Markdown

# cpufreq-aperf
> Calculate the average CPU frequency over a time period.
> Requires root privileges.
- 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}}`
- Start calculating with a 3 seconds refresh interval for all CPU cores:
`sudo cpufreq-aperf -i {{3}}`
- Calculate only once:
`sudo cpufreq-aperf -o`