Skip to content

Simple resource and threshold based process killer written in Rust.

License

Notifications You must be signed in to change notification settings

vitrioil/killrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KILLRS - Simple Resource Based Process Killer

Use with caution

Killrs is a very simple threshold based process killer. Use it only for experimentation as killing a process can lead to unexpected results.

Install

cargo install --git https://github.com/vitrioil/killrs

How to use

Provide the pid, threshold and what resource to monitor.

killrs --help

Example: To restrict the process running more than 100 seconds

killrs --pid <pid> --threshold 100 run-time

It will send SIGINT to begin with, but if the process still exists it will escalate it to SIGTERM and then SIGKILL.

Run example:

cargo run --example simple

About

It uses sysinfo to gather system information.

About

Simple resource and threshold based process killer written in Rust.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages