SOLISTEN(8)
β¨ SOLISTEN(8) β¨
π solisten, System Manager's Manual, section 8 π
π NAME π
okay so solisten is a tool that traces listening sockets π¦ it's literally a solisten thing, bestie
π SYNOPSIS π
usage: solisten [-h] [--show-netns] [-p PID] [-n NETNS]
πΈ DESCRIPTION πΈ
ngl this one is so thorough π every IPv4 and IPv6 listen attempt gets traced, even the ones that totally fail, or the ones where the listening program is not willing to accept() π it's giving "I see everything" energy and I'm obsessed
π§ optional arguments: π§
-h,--helpβ shows the help message and exits π--show-netnsβ shows the network namespace π-p PID,--pid PIDβ only traces this PID π―-n NETNS,--netns NETNSβ only traces this Network Namespace π«Ά
β¨ EXAMPLES β¨
okay the examples are sooo good, here's the vibe:
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 π₯ go check it out at https://github.com/iovisor/bcc
also look in the bcc distribution for a companion _examples.txt file with example usage, output, and commentary for this tool π it's like a little guidebook, iykyk
π OS π
Linux π§ only, bestie
π STABILITY π
Unstable, it's still in development π use with some caution, periodt
π bye bestie! this is the USER COMMANDS section, last updated 2019-07-29, and it's all SOLISTEN(8) π slay β¨
π¦ where this page comes from
- debian bookworm: bpfcc-tools 0.26.0+ds-1 Β· Apache-2.0
- debian trixie: bpfcc-tools 0.31.0+ds-7 Β· Apache-2.0
- ubuntu jammy: bpfcc-tools 0.18.0+ds-2 Β· Apache-2.0
- ubuntu noble: bpfcc-tools 0.29.1+ds-1ubuntu7 Β· Apache-2.0
- ubuntu questing: bpfcc-tools 0.31.0+ds-7ubuntu2 Β· Apache-2.0
- ubuntu resolute: bpfcc-tools 0.35.0+ds-1ubuntu2 Β· Apache-2.0
- ubuntu stonking: bpfcc-tools 0.35.0+ds-1ubuntu4 Β· Apache-2.0
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms