Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
xinqu
xinqu
@xinqu@mastodon.bsd.cafe  路  activity timestamp 4 months ago

A useful combination of options for the #netstat command on #linux is "-n -p -u -t -l -e": show all listening udp and tcp sockets, include program PID and extra information, do not translate numbers.

If you speak german, these options are easy to remember in this order: netstat -tulpen -- what means "tulips" 馃尫. A single tulip, netstat -tulpe turns on number resolution.

#FreeBSD equivalent is sockstat -l -Ptcp,udp

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.1-alpha.40 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct