command-rusage
Simple wrapper for linux wait4 syscall to get resource usage of a child process. This allows to measure multiple parameters of a child process, including CPU user/system times, memory usage, number of page faults, etc.
Usage
use GetRUsage;
use Command;
let mut child = new.arg.spawn.unwrap;
let rusage = child.wait_for_rusage.unwrap;
println!;