mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
cpufreq-aperf: add page (#1865)
This commit is contained in:
parent
0ab26f049c
commit
7c9e7aafe1
1 changed files with 20 additions and 0 deletions
20
pages/linux/cpufreq-aperf.md
Normal file
20
pages/linux/cpufreq-aperf.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue