Josh Triplett writes: > Geert Stappers wrote: >> On Mon, Dec 26, 2016 at 02:50:50PM +0100, Marco d'Itri wrote: >> > ifconfig, route, etc... >> >> From https://packages.debian.org/stretch/arm64/net-tools/filelist >> >> * /bin/netstat > > The rest of net-tools aside (which have sensible replacements), what > replaces netstat in the absence of net-tools?
Which parts of netstat? `ss` displays socket information. And is more informative then netstat, for example it shows correctly which programs(!) use a listening socket. Compare: +--- | # netstat -xlp | grep gpg-agent.ssh | unix 2 [ ACC ] STREAM LISTENING 25888 1911/systemd /run/user/1000/gnupg/S.gpg-agent.ssh | # ss -lp | grep gpg-agent.ssh | u_str LISTEN 0 128 /run/user/1000/gnupg/S.gpg-agent.ssh 25888 * 0 users:(("gpg-agent",pid=20584,fd=5),("systemd",pid=1911,fd=22)) +--- (which reminds me of `ip` vs. `ifconfig` on interfaces with multiple IPv4 addresses. `ifconfig` will show only one of them...) Ansgar