A tool to list and diagnose bpf programs. (Who watches the watchers..? :)

Clone this repo:
  1. ebc9b42 Fix golint import path (#4) by alexander zillion · 3 weeks ago master
  2. 50b8d7c Bump version to v0.1.5 by Jess Frazelle · 7 weeks ago v0.1.5
  3. 0964ade update by Jess Frazelle · 7 weeks ago
  4. 43b9f28 update makefile by Jess Frazelle · 7 weeks ago
  5. ef2f64f Bump version to v0.1.4 by Jess Frazelle · 4 months ago v0.1.4

bpfps

Travis CI GoDoc Github All Releases

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.

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/genuinetools/bpfps

Using your package manager

Usage

$ 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