cpu-cli-controller 0.2.0

A Linux CPU controller CLI tool
cpu-cli-controller-0.2.0 is not a library.

cpu-cli-controller

Control linux CPUs via the CLI.

Description

Cores can be:

  • activated
  • deactivated
  • shown (1 means on, 0 means off)

The cores are detected by finding the directories of the form '/sys/devices/system/cpu/cpu', where is a positive integer. To activate (resp. deactivate) them, it sets '/sys/devices/system/cpu/cpu/online' to 1 (resp. 0). The cpu0 cannot be deactivated.

Similar tools