Something went wrong. Try again.
CPUs can make a little heat, as a treat
Something went wrong. Try again.
Files
README.md
Heater #
A Rust command-line application that churns your CPU cores at maximum capacity so your laptop isn't cold
Build #
cargo build --release
The compiled binary will be at target/release/heater.
Usage #
Run indefinitely (until Ctrl+C) #
cargo run --release
# or
./target/release/heater
Run for a specific duration (in seconds) #
cargo run --release -- --duration 30
# or
./target/release/heater --duration 30
Customize the number of free cores #
# Leave 2 cores free
cargo run --release -- --free-cores 2
# Use ALL cores (leave 0 free)
cargo run --release -- --free-cores 0
# Run for 60 seconds, leaving 2 cores free
cargo run --release -- --duration 60 --free-cores 2
Options #
-d, --duration <DURATION> Duration to run in seconds (omit for indefinite run)
-f, --free-cores <FREE_CORES> Number of cores to leave free (default: 1)
-g, --gpu Enable GPU usage (makes more heat)
-h, --help Print help
-V, --version Print version