https://github.com/genuinetools/bpfps
A tool to list and diagnose bpf programs. (Who watches the watchers..? :)
https://github.com/genuinetools/bpfps
bpf cli linux processing tracing
Last synced: 5 months ago
JSON representation
A tool to list and diagnose bpf programs. (Who watches the watchers..? :)
- Host: GitHub
- URL: https://github.com/genuinetools/bpfps
- Owner: genuinetools
- License: mit
- Created: 2018-04-25T19:07:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T20:13:06.000Z (over 5 years ago)
- Last Synced: 2025-04-08T03:38:18.014Z (10 months ago)
- Topics: bpf, cli, linux, processing, tracing
- Language: Makefile
- Homepage:
- Size: 5.61 MB
- Stars: 95
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bpfps
[](https://github.com/genuinetools/bpfps/actions?query=workflow%3A%22make+all%22)
[](https://github.com/genuinetools/bpfps/actions?query=workflow%3A%22make+image%22)
[](https://godoc.org/github.com/genuinetools/bpfps)
[](https://github.com/genuinetools/bpfps/releases)
A tool to list and diagnose bpf programs. (Who watches the watchers..? :)
Shoutout to [cilium's](https://github.com/cilium/cilium)
[golang bpf package](https://godoc.org/github.com/cilium/cilium/pkg/bpf) for doing a lot of heavy lifting here.
**Table of Contents**
- [Installation](#installation)
- [Binaries](#binaries)
- [Via Go](#via-go)
- [Using your package manager](#using-your-package-manager)
- [Usage](#usage)
## Installation
#### Binaries
For installation instructions from binaries please visit the [Releases Page](https://github.com/genuinetools/bpfps/releases).
#### Via Go
```console
$ go get github.com/genuinetools/bpfps
```
#### Using your package manager
- ArchLinux: [precompiled binary](https://aur.archlinux.org/packages/bpfps-bin), [compiled from source](https://aur.archlinux.org/packages/bpfps-git)
## Usage
```console
$ bpfps -h
bpfps - A tool to list and diagnose bpf programs. (Who watches the watchers..? :).
Usage: bpfps
Flags:
-d enable debug logging (default: false)
Commands:
version Show the version information.
```
```console
$ sudo bpfps
BID NAME TYPE UID MAPS LOADTIME
21 Array 0 []uint32(nil) 17h25m55.523229433s
22 Array 0 []uint32(nil) 17h25m55.530713603s
```