Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# bpfps

[![make-all](https://github.com/genuinetools/bpfps/workflows/make%20all/badge.svg)](https://github.com/genuinetools/bpfps/actions?query=workflow%3A%22make+all%22)
[![make-image](https://github.com/genuinetools/bpfps/workflows/make%20image/badge.svg)](https://github.com/genuinetools/bpfps/actions?query=workflow%3A%22make+image%22)
[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://godoc.org/github.com/genuinetools/bpfps)
[![Github All Releases](https://img.shields.io/github/downloads/genuinetools/bpfps/total.svg?style=for-the-badge)](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
```