mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 06:51:13 +00:00
Update cheatsheets
This commit is contained in:
29
linux/cpupower
Normal file
29
linux/cpupower
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cpupower
|
||||
|
||||
> Tools regarding CPU power and tuning options.
|
||||
> More information: <https://manned.org/cpupower>.
|
||||
|
||||
- List CPUs:
|
||||
|
||||
`sudo cpupower --cpu {{all}} info`
|
||||
|
||||
- Print information about all cores:
|
||||
|
||||
`sudo cpupower --cpu {{all}} info`
|
||||
|
||||
- Set all CPUs to a power-saving frequency governor:
|
||||
|
||||
`sudo cpupower --cpu {{all}} frequency-set --governor {{powersave}}`
|
||||
|
||||
- Print CPU 0's available frequency [g]overnors:
|
||||
|
||||
`sudo cpupower --cpu {{0}} frequency-info g | grep "analyzing\|governors"`
|
||||
|
||||
- Print CPU 4's frequency from the hardware, in a human-readable format:
|
||||
|
||||
`sudo cpupower --cpu {{4}} frequency-info --hwfreq --human`
|
||||
Reference in New Issue
Block a user