DOKK / manpages / debian 12 / bpfcc-tools / sofdsnoop-bpfcc.8.en
SOFDSNOOP(8) System Manager's Manual SOFDSNOOP(8)

sofdsnoop - traces FDs passed by sockets

usage: sofdsnoop [-h] [-T] [-p PID] [-t TID] [-n NAME] [-d DURATION]

Trace file descriptors passed via socket

show this help message and exit
include timestamp on output
trace this PID only
trace this TID only
only print process names containing this name
total duration of trace in seconds

# sofdsnoop
# sofdsnoop -T
# sofdsnoop -p 181
# sofdsnoop -t 123
# sofdsnoop -d 10
# sofdsnoop -n main

This is from bcc.

https://github.com/iovisor/bcc

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

Linux

Unstable - in development.

2019-07-29 USER COMMANDS