New answers tagged netstat
from wikipedia On Linux, netstat (part of "net-tools") is deprecated, ss (part of iproute2) should be used instead. The net-tools package has not seen a Linux release in more than a decade. That's a long time to go without an update for a program suite designed to manage and monitor an ever-evolving kernel's communications interfaces - especially when ...
You need to run netstat using sudo. The output indicates you're running a command such as netstat -tpn (though the exact arguments are unknown since you don't provide them). However without root privileges, netstat is unable to go poking around in the processes of other users (denoted by a - in the last column of your output), so the -p option will only ...
If I understand correctly what you are missing - From the question and comments, I understand you expect there is a PID and process name at the end of the line of netstat output? Like tcp 0 0 220.127.116.11:25 18.104.22.168:60154 ESTABLISHED 12775/nscd instead of tcp 0 0 22.214.171.124:25 126.96.36.199:60154 ESTABLISHED - Then, it seems ...
It seems that you simply don't have these tools installed. On CentOS, you should be able to install them easily with yum. Try this: $ yum install nmap netstat
Top 50 recent answers are included