3 ms·
The 'modern' iputils alternative to netstat is 'ss'. May or may not exist on some systems where netstat does not. Good info, though. Lots of info to bad had
by lathiat 9y ago
The 'modern' iputils alternative to netstat is 'ss'. May or may not exist on some systems where netstat does not.
Good info, though. Lots of info to bad had in /proc but needs parsing.
- Annatar 9y agoss is also one of the biggest travesties: every other UNIX-like and UNIX OS has netstat, just GNU/Linux won’t because someone thinks they know better.
- laumars 9y agoNot just UNIX-like, Windows also has netstat
- vbernat 9y agoUnlike other Unix, Linux doesn't control its userland. net-tools (ifconfig, netstat, arp, route, etc.) was maintained by a separate person, was mostly a dead project (it has been revived very recently) and many scripts heavily relied on their interface (both input and output). To be able to push new features, kernel devs had to develop a set of tools to expose those features to users in a coherent way. So, yes, maybe they know better.
- Annatar 9y agoOnly in GNU/Linux can it happen that core networking utilities like netstat, arp and ifconfig fall into neglect. Because no, they don't know any better.
- txutxu 9y agoIf you strace to ss -s, it uses the same files than the article.