| Crates.io | cpuburn |
| lib.rs | cpuburn |
| version | 0.1.3 |
| created_at | 2023-09-24 03:48:33.813796+00 |
| updated_at | 2025-10-19 20:25:19.281549+00 |
| description | cpuburn is a tool to push your CPU to 100% |
| homepage | https://github.com/erikh/cpuburn |
| repository | https://github.com/erikh/cpuburn |
| max_upload_size | |
| id | 981703 |
| size | 4,905 |
This tool will take all your cores and use all of them. Nice for testing stress
as well as CPU throttling (for instance in a VM or container environment). It's
also useful for validating metrics collectors such as the prometheus agent
node-exporter.
This tool is named after the old cpuburn Linux tool. I just wanted to whip up
something I could compile easy for myself. Hope you find it useful!
cargo install cpuburn
cpuburn
Combine with tools like renice and tasksel to really test how your system behaves when tapped out.
Press ^C to terminate it.
This repository also contains Dockerfiles which utilize staged builds to give you a very small container to launch it into e.g. your Kubernetes cluster.
Dockerfile builds the source repository; Dockerfile.release builds from
crates.io.
MIT
Erik Hollensbe git@hollensbe.org