SOCKLIST(8)

πŸ’… SOCKLIST β€” the manual page, but make it cute πŸ’…

okay so bestie, welcome to socklist from the Linux System Manual, section 8. Yeah it's a real one, it's got the whole manpage situation going on, and I'm about to explain it to you like we're texting at 2am. πŸ¦‹


✨ NAME ✨

socklist β€” display list of open sockets 🌸


🌈 SYNOPSIS 🌈

socklist

That's it. That's the whole thing. No flags, no args, no drama. She just is. πŸ‘‘


πŸŽ€ DESCRIPTION πŸŽ€

So socklist is a Perl script, okay? Not a binary, not a compiled lil guy β€” a script. And what she does is give you a list of all open sockets, and while she's at it she enumerates, for each one:

  • the type of socket 🧚
  • the port
  • the inode
  • the uid
  • the pid
  • the fd
  • and the program that socket belongs to

The way that it just hands you the whole vibe of every socket on the box?? Iconic. Ate. No crumbs. πŸ’–


✨ OPTIONS ✨

  • None.

Literally none, bestie. Zero. She takes no options. She does not want options. She is unbothered, moisturized, in her lane, focused, flourishing. πŸŽ€


πŸ¦‹ FILES πŸ¦‹

These are the places she peeks at, and yes we love them:

  • /proc/*/fd/* β€” file descriptors. The receipts of what's open. πŸ‘€
  • /proc/net/tcp β€” the list of TCP sockets. 🌸
  • /proc/net/udp β€” the list of UDP sockets. 🫢
  • /proc/net/raw β€” the list of raw sockets. πŸ”₯

😭 BUGS 😭

None as yet.

Not me finding a manpage with a clean bug record. She said "I am flawless and I intend to stay that way." Periodt. πŸ’…βœ¨


🌸 SEE ALSO 🌸

Go read these too, bestie, they're giving related content energy:

iykyk. πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Larry Doolittle <ldoolitt@jlab.org> β€” the main character who wrote her. Give credit where credit is due, always. πŸŽ€


lowkey reminder: this whole thing is from 1st Release, dated 1998-02-09, filed under SOCKLIST(8). Vintage. Retro. Still slaying. πŸ’–

okay bye bestie, go check your sockets, drink some water, ily 🫢✨🌸