A tool to list and diagnose bpf programs. (Who watches the watchers..? :)
Shoutout to cilium's golang bpf package for doing a lot of heavy lifting here.
Table of Contents
For installation instructions from binaries please visit the Releases Page.
$ go get github.com/genuinetools/bpfps
- ArchLinux: precompiled binary, compiled from source
$ bpfps -h
bpfps - A tool to list and diagnose bpf programs. (Who watches the watchers..? :).
Usage: bpfps <command>
Flags:
-d enable debug logging (default: false)
Commands:
version Show the version information.
$ sudo bpfps
BID NAME TYPE UID MAPS LOADTIME
21 Array 0 []uint32(nil) 17h25m55.523229433s
22 Array 0 []uint32(nil) 17h25m55.530713603s