Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andrestc/delaystat

[WIP] CLI to track linux task delay accounting
https://github.com/andrestc/delaystat

cli linux

Last synced: 3 months ago
JSON representation

[WIP] CLI to track linux task delay accounting

Awesome Lists containing this project

README

        

# delaystat

`delaystat` is a cli utility that fetches and prints linux delay accounting information for a given process or thread.

### Usage

Delay accounting for by PID:

```bash
$ delaystat -p 1
```

Delay accounting by TGID:

```bash
$ delaystat -t 1
```

If no flags are provided, `delaystat` prints its own delay accounting information.

### More information

For more information on linux delay accounting, please see:

- https://www.kernel.org/doc/Documentation/accounting/delay-accounting.txt
- https://andrestc.com/post/linux-delay-accounting/

### Notes

- Requires CAP_NET_ADMIN capability (see capabilities(7)). Otherwise, the application must be run as root.