SOLISTEN(8) System Manager's Manual SOLISTEN(8)

# [NAME](#NAME)

solisten - Trace listening socket

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#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:](#optional_arguments:)

[**-h**, **--help**](#h)

show this help message and exit

[**--show-netns**](#show)

show network namespace

[**-p** PID, **--pid** PID](#p)

trace this PID only

[**-n** NETNS, **--netns** NETNS](#n)

trace this Network Namespace only

# [EXAMPLES](#EXAMPLES)

[Stream socket listen:](#Stream)

\# **solisten**

[Stream socket listen for specified PID only](#Stream~2)

\# **solisten -p 1234**

[Stream socket listen for the specified network namespace ID only](#Stream~3)

\# **solisten --netns 4242**

[Show network ns ID (useful for containers)](#Show)

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

# [SOURCE](#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](#OS)

Linux

# [STABILITY](#STABILITY)

Unstable - in development.

2019-07-29 USER COMMANDS

---

Document: solisten(8) from bcc 0.37.0-r2 (Chainguard OS)
Source: https://github.com/iovisor/bcc
