DOKK / manpages / debian 11 / bpfcc-tools / bindsnoop-bpfcc.8.en
bindsnoop(8) bindsnoop(8)

bindsnoop - Trace bind() system calls.

bindsnoop.py [-h] [-w] [-t] [-p PID] [-P PORT] [-E] [-U] [-u UID] [--count] [--cgroupmap MAP] [--mntnsmap MNTNSMAP]

bindsnoop reports socket options set before the bind call that would impact this system call behavior.

CONFIG_BPF and bcc.

bindsnoop -t
bindsnoop -p 181
bindsnoop -P 80
bindsnoop -P 80,81
bindsnoop -U
bindsnoop -u 1000
bindsnoop -E
bindsnoop --count

Trace IPv4 and IPv6 bind system calls and report socket options that would impact bind call behavior:

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.

Pavel Dubovitsky

tcpaccept(8)

12 February 2020