cpuburn

Crates.iocpuburn
lib.rscpuburn
version0.1.1
sourcesrc
created_at2023-09-24 03:48:33.813796
updated_at2023-09-24 03:53:03.124721
descriptioncpuburn is a tool to push your CPU to 100%
homepagehttps://github.com/erikh/cpuburn
repositoryhttps://github.com/erikh/cpuburn
max_upload_size
id981703
size4,581
Erik Hollensbe (erikh)

documentation

README

cpuburn: a rust tool for maximizing your CPU usage

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).

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!

Installation

cargo install cpuburn

Usage

cpuburn

Press ^C to terminate it.

Dockerfile

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.

License

MIT

Author

Erik Hollensbe git@hollensbe.org

Commit count: 8

cargo fmt