Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/andrestc/delaystat
- Owner: andrestc
- License: mit
- Created: 2018-01-10T00:40:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-02T19:14:21.000Z (over 4 years ago)
- Last Synced: 2024-06-20T13:28:37.827Z (6 months ago)
- Topics: cli, linux
- Language: Go
- Homepage:
- Size: 2.08 MB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.