kawamuray / linux-taskstats-rs

Rust interface for Linux taskstats
MIT License
9 stars 7 forks source link

Add API for getting process/TGID statistics #7

Closed bzld closed 1 year ago

bzld commented 1 year ago

So far, only an API for TASKSTATS_CMD_ATTR_PID is implemented, which gives statistics of a single thread. To get cumulative statistics of a whole process/thread group, TASKSTATS_CMD_ATTR_TGID would need to be used.