linux-taskstats-rs

Rust interface to Linux's taskstats.

This crate provides access to taskstats which is known as a way to access task's "delay" information a.k.a Delay Accounting.

Usage

```rust use linux_taskstats::{self, Delays, Client};

fn getpiddelays(pid: u32) -> Result { let client = Client::open()?; let ts = client.pid_stats(pid)?; Ok(ts.delays) } ```

How to build

sh cargo test cargo build

Or on platform other than linux:

``sh ./docker-build/build-docker-image.sh # Just once, creates a imagetaskstats-build:latest` ./docker-build/build.sh

The outputs will be created under docker-build/target

```

License

MIT