A clone of the wonderful Ananicy tool to Rust.
rice
adjusts the nice-value, cgroup, ionice-value, and io-class of running processes according to a set of rules.
rice
depends on stable Rust and libc.
cargo install
By default, rice
outputs to stderr through the use of the
pretty_env_logger crate.
rice
can be configured to output to syslog using the syslog crate, by changing the
compile-time features:
cargo install --no-default-features --features "syslog"
rice
Since this is a clone of Ananicy, it is configured the same way and currently
assumes Ananicy 's rules exist in its config directory.
See here for details on how to configure Ananicy and in turn
rice
.
PRs accepted.
MIT © Stuart Reilly