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 ✨