4 releases
0.1.3 | Jun 29, 2021 |
---|---|
0.1.2 | Jun 29, 2021 |
0.1.1 | Jun 23, 2021 |
0.1.0 | Jun 23, 2021 |
#39 in #core
4KB
55 lines
torpid
Tiny linux utility to turn CPU cores on/off
Installation
cargo install --force torpid
Usage
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.
Dependencies
~1.5MB
~24K SLoC