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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file cpu-power.py-0.1.1.tar.gz.

File metadata

  • Download URL: cpu-power.py-0.1.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for cpu-power.py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6b0fb9cf48f3ed29bf90cb9c7ee18d0977f1e230b9a3b326488bb5a0b50b5f13
MD5 fffda098e80fb09e9cb7d72e7e6ba5ff
BLAKE2b-256 b7630c8f7293074c52bdc661f6e3d621f8afa34ee61054efbcdef2181098494f

See more details on using hashes here.

File details

Details for the file cpu_power.py-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cpu_power.py-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for cpu_power.py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4b797ca6b96a322152664ba8a3faca06cc4458e5b90549c452fa0e196461733
MD5 4d05e1ea32a5e00495aa944d390d0e47
BLAKE2b-256 3911a386afe7351901887a47787b5de9da3c9bb8e2ad0748c169617f0bc3324a

See more details on using hashes here.

Supported by

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