1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-10 04:05:24 +02:00
tldr/pages/linux/cpufreq-aperf.md
Managor ae436c1b00
linux/*: add option placeholders (#16192)
* batch1

* batch2

* batch3

* batch4

* Update matchpathcon.md

* Update pages/linux/arecord.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update pages/linux/arecord.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update pages/linux/arecord.md

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2025-04-19 21:21:53 +00:00

21 lines
525 B
Markdown

# cpufreq-aperf
> Calculate the average CPU frequency over a time period.
> Requires root privileges.
> More information: <https://manned.org/cpufreq-aperf>.
- 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|--cpu]}} {{1}}`
- Start calculating with a 3 second refresh interval for all CPU cores:
`sudo cpufreq-aperf {{[-i|--interval]}} {{3}}`
- Calculate only once:
`sudo cpufreq-aperf {{[-o|--once]}}`