cpulimiter 0.1.0

A user-space CPU limiter crate
Documentation

A tool to limit the CPU usage of a process.

Example

use cpulimiter::Pid;

// Only limit the target process
Pid::from(1048).limit(10.0);
// or also account for the children
Pid::try_from("2096").unwrap().limit_with_children(42.0);