Skip to content

andrestc/linux-delays

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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