undump.bt(8) System Manager's Manual undump.bt(8)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

**undump.bt**

# [DESCRIPTION](#DESCRIPTION)

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.

# [REQUIREMENTS](#REQUIREMENTS)

CONFIG\_BPF and bpftrace.

# [EXAMPLES](#EXAMPLES)

[Trace reception of UNIX domain sockets:](#Trace)

\# **undump.bt**

# [FIELDS](#FIELDS)

[TIME](#TIME)

A timestamp on the output, in "HH:MM:SS" format.

[COMM](#COMM)

The process COMM.

[PID](#PID)

The process ID.

[SIZE](#SIZE)

The size of the received packet, in bytes.

[DATA](#DATA)

Display received packets in hex or string.

# [OVERHEAD](#OVERHEAD)

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

# [SOURCE](#SOURCE)

This is from bpftrace.

https://github.com/bpftrace/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

# [OS](#OS)

Linux

# [STABILITY](#STABILITY)

Unstable - in development.

# [AUTHOR](#AUTHOR)

Rong Tao

# [SEE ALSO](#SEE_ALSO)

[opensnoop.bt(8)](/man/enterprise-packages/bpftrace/opensnoop.bt.8)

2022-06-03 USER COMMANDS

---

Document: undump.bt(8) from bpftrace 0.27.0-r1 (Chainguard OS)
Source: https://github.com/bpftrace/bpftrace
