Crates.io | torpid |
lib.rs | torpid |
version | 0.1.3 |
source | src |
created_at | 2021-06-23 18:22:18.032275 |
updated_at | 2021-06-29 21:04:29.41697 |
description | Tiny linux utility to turn CPU cores on/off |
homepage | |
repository | https://github.com/n-k/torpid |
max_upload_size | |
id | 414072 |
size | 8,011 |
Tiny linux utility to turn CPU cores on/off
cargo install --force torpid
sudo torpid <number of cores to enable>
. E.g: sudo torpid 4
, will keep 4 cores on and turn others off.
Also see torpid --help
, it should output something like:
torpid 0.1.0
Nipun Kumar <nipunkumar@outlook.com>
Turn off some CPU cores
USAGE:
torpid <NUM_CPU_CORES>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<NUM_CPU_CORES> Number of cores to enable.
Must be within 1 <= ... <= number of cores present.