Smartseo Blog

Netstat(8) on CentOS?

by 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

Be Sociable, Share!
:,

1 Comment for this entry

  • MB800800

    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.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...