skip to content
==> README.md <==
1# @ajax/mesh-proc-usage
2
3A process's CPU time (user + system, every thread) and resident bytes, from `/proc/<pid>/stat`.
4
5## Differences
6
7Linux only (the Rust also reads macOS's `proc_pidinfo`).
8
9## Ported from
10
11[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/native.rs (`usage`).
12
13## Tests
14
15`tests/usage.c`: the Rust's `usage_of_self`.
16
17## Licence
18
19MIT. See the repository's LICENSE.