netstat is in the net-tools package, but that is somewhat deprecated. The iproute2 package is the new standard and provides for example the ss tool for socket statistics. That one should already be installed.