https://github.com/luser/procio-rs
https://github.com/luser/procio-rs
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/luser/procio-rs
- Owner: luser
- Created: 2018-03-07T22:05:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-07T22:05:46.000Z (over 8 years ago)
- Last Synced: 2025-03-16T05:21:55.458Z (over 1 year ago)
- Language: Rust
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Run a process on Linux and track its I/O throughput.
run `procio command arguments...` and it will print stats every second.
Pass `-o FILE` to redirect the command's stdout to `FILE`.
Sample Output
=============
```
$ cargo run -- -o /dev/null /usr/bin/yes
Compiling procio v0.1.0 (file:///build/procio-rs)
Finished dev [unoptimized + debuginfo] target(s) in 1.24 secs
Running `target/debug/procio -o /dev/null /usr/bin/yes`
1.000 s: 2 KiB/s read, 29 GiB/s write
2.000 s: 0 B/s read, 29 GiB/s write
3.000 s: 0 B/s read, 28 GiB/s write
4.000 s: 0 B/s read, 28 GiB/s write
^C
```