1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 05:42:09 +02:00

cpufreq-set.md: add page

This commit is contained in:
Max Xu 2018-01-06 14:00:12 +08:00 committed by GitHub
parent 5d30dbfc4d
commit b293ccb7e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,20 @@
# cpufreq-set
> A tool to modify CPU frequency settings.
> Requires root privileges.
- Set the CPU frequency policy of CPU 1 to "userspace":
`sudo cpufreq-set -c {{1}} -g {{userspace}}`
- Set the minimum CPU frequency of CPU 1:
`sudo cpufreq-set -c {{1}} --min {{min_frequency}}`
- Set the maximum CPU frequency of CPU 1:
`sudo cpufreq-set -c {{1}} --max {{max_frequency}}`
- Set the work frequency of CPU 1 (requires "userspace" policy to be loaded):
`sudo cpufreq-set -c {{1}} -f {{work_frequency}}`