effective-limits 0.5.5

Estimate effective resource limits for a process e.g. how much RAM is available for use.
Documentation
1
2
3
4
5
6
7
8
9
#![warn(clippy::all)]

extern crate effective_limits;

// Functional test helper for the library, not an end user script.
fn main() -> effective_limits::Result<()> {
    println!("{}", effective_limits::memory_limit()?);
    Ok(())
}