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

Clone this repo:
  1. 0c3e30e fix image by Jess Frazelle · 3 weeks ago master
  2. 909ec54 fix by Jess Frazelle · 7 months ago
  3. e3f194c docs: Update TOC by github-actions[bot] · 7 months ago
  4. 86ca100 update to github actions by Jess Frazelle · 7 months ago
  5. d1bd7a6 update travis by Jess Frazelle · 1 year ago

bpfps

make-all make-image 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.

Table of Contents

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