torpid

Crates.iotorpid
lib.rstorpid
version0.1.3
sourcesrc
created_at2021-06-23 18:22:18.032275
updated_at2021-06-29 21:04:29.41697
descriptionTiny linux utility to turn CPU cores on/off
homepage
repositoryhttps://github.com/n-k/torpid
max_upload_size
id414072
size8,011
Nipun Kumar (n-k)

documentation

README

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.
Commit count: 8

cargo fmt