8000 GitHub - andrestc/linux-delays: Utility to get per-pid delay accounting statistics from the kernel using libnl
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andrestc/linux-delays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Utility to get per-pid delay accounting statistics from the kernel using libnl to fetch data from the Netlink interface.

Usage

$ make

$ sudo ./getdelays <PID>

It is possible to fetch delay accounting information without running as root, providing CAP_NET_ADMIN capabilities to the binary:

$ sudo setcap cap_net_admin+ep ./getdelays

Whats linux delay accounting?

Docs available at: https://www.kernel.org/doc/Documentation/accounting/delay-accounting.txt

Disclaimer

Based on linux/tools/accounting/getdelays.c, but uses a higher level abstraction (libnl) instead of handling the socket and parsing the data manually.

About

Utility to get per-pid delay accounting statistics from the kernel using libnl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0