Skip to main content

Set Linux CPU power settings

Project description

cpu-power.py

PyPI version License Python versions

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cpu-power.py-0.1.1.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

cpu_power.py-0.1.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page