https://github.com/six-two/cpu-power.py
https://github.com/six-two/cpu-power.py
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/six-two/cpu-power.py
- Owner: six-two
- License: mit
- Created: 2022-01-06T18:02:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-18T11:17:14.000Z (about 3 years ago)
- Last Synced: 2025-07-09T12:08:14.435Z (4 days ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cpu-power.py
[](https://pypi.org/project/cpu-power.py/)

View and edit some CPU power saving settings:
- Minimum frequency
- Maximum frequency
- Active cores
- Multithreading / SMT
- Turbo Boost## Installation
The script needs root permissions to change the CPU settings.
Thus it is recommended to install the package as root:```
sudo pip install cpu-power.py
```## Usage
You can view your CPU settings by calling the script without parameters:
```
cpu-power
```You can also set CPU settings like this (power saving mode):
```
sudo cpu-power set -u 2.2 -d 2.2
```