Here is a simple way to find results you might be looking for when running a command such as netstat on your computer or server. The following example should help you get an idea of how to use this in information gathering
Issuing the following command: “netstat -an | find /I “established” gave me the results above. So play around and discover what you can do. It’s fun, you learn things and who knows. You may find this to be of good use to you. For example: You want to know how many connections are established to your web server.