---
name: "solisten-bpfcc"
section: "8"
platform: "linux"
package: "bpfcc-tools"
version: "0.31.0+ds-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/solisten-bpfcc"
---

# solisten-bpfcc(8)

Trace listening socket

## NAME

solisten - Trace listening socket

## SYNOPSIS

usage: solisten \[-h\] \[--show-netns\] \[-p PID\] \[-n NETNS\]

## DESCRIPTION

All IPv4 and IPv6 listen attempts are traced, even if they ultimately fail or the listening program is not willing to accept().

### optional arguments:

- **-h**, **--help**

  show this help message and exit

- **--show-netns**

  show network namespace

- **-p** PID, **--pid** PID

  trace this PID only

- **-n** NETNS, **--netns** NETNS

  trace this Network Namespace only

## EXAMPLES

- Stream socket listen:

  \# **solisten**

- Stream socket listen for specified PID only

  \# **solisten -p 1234**

- Stream socket listen for the specified network namespace ID only

  \# **solisten --netns 4242**

- Show network ns ID (useful for containers)

  \# **solisten --show-netns**

## SOURCE

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.

## OS

Linux

## STABILITY

Unstable - in development.
