Netstat(8) on CentOS?
by admin on Nov.23, 2011, under Linux
Hi, Im currently using CentOS and have a few questions on the command netstat (8). a. So what command do I use to list all active and available sockets? I also want to include UNIX domain sockets. (I have read the netstat man page, but just really confused) b. What states may be in a TCP connection? thanks all

November 23rd, 2011 on 6:02 pm
Netstat -a will list all active ports including unix domain. It only lists “active” ports. Any port is available as long as it is not currently active.
TCP/IP ports can be “established” or “listening”. Unix ports don’t show states.