DOKK / manpages / debian 12 / bpftrace / undump.bt.bt.8.en
undump.bt(8) System Manager's Manual undump.bt(8)

undump.bt - Catch UNIX domain socket packages. Uses bpftrace/eBPF.

undump.bt

undump.bt tracked reception of UNIX domain sockets.

This program is also a basic example of bpftrace and kprobes.

Since this uses BPF, only the root user can use this tool.

CONFIG_BPF and bpftrace.

# undump.bt

A timestamp on the output, in "HH:MM:SS" format.
The process COMM.
The process ID.
The size of the received packet, in bytes.
Display received packets in hex or string.

The overhead of this program mainly comes from the data packets received by the terminal output.

This is from bpftrace.

https://github.com/iovisor/bpftrace

Also look in the bpftrace distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool.

This is a bpftrace version of the bcc examples/tracing of the same name. The bcc tool may provide more options and customizations.

https://github.com/iovisor/bcc

Linux

Unstable - in development.

Rong Tao

opensnoop.bt(8)

2022-06-03 USER COMMANDS