procsys 0.7.0

Rust library to retrieve system, kernel, and process metrics from the pseudo-filesystems /proc and /sys
Documentation
1
2
3
4
5
6
use procsys::cmdline;

fn main() {
    let sys_cmdline = cmdline::collect().expect("system boot cmdline");
    println!("{:?}", sys_cmdline);
}