Thread: Netstat
View Single Post

 Netstat
Old September 8th, 2007, 01:05 AM   #1 (permalink)
Gorilla
Afro Resident
 
Gorilla's Avatar
 
Gorilla is offline
Join Date: Jan 2005
Posts: 1,062
Thanks: 58
Thanked 122 Times in 87 Posts
Gorilla has much to be proud ofGorilla has much to be proud ofGorilla has much to be proud ofGorilla has much to be proud ofGorilla has much to be proud ofGorilla has much to be proud ofGorilla has much to be proud ofGorilla has much to be proud ofGorilla has much to be proud ofGorilla has much to be proud of
Rep Power: 32
Credits: 8,336
Netstat

Netstat is a useful command line utility that can display very detailed information about network connections, routing information and a lot of useful statistics.

This utility is available in both Unix/Linux, Windows and MacOSX (Based on Unix).

To run it open a console (command prompt, terminal) and enter the following short command:

netstat
This will provide some default information to give you the basic idea of what this tool does.

Netstat has a host of useful parameters which can arrange the representation of data or provide even more information

netstat -a
This parameter will display active and listening connections.

netstat -n
This would provide you information with IP addresses in the place of resolved names whenever possible.

netstat -n -b
This combination would provide you the ip addresses and associated program and Process ID of programs along with their corresponding connections


This command is useful for diagnosing a lot of problems. Also, its invaluable for investigating a program's behavior. For more information, you can read further about this from Netstat - Wikipedia, the free encyclopedia.
  Reply With Quote
The Following User Says Thank You to Gorilla For This Useful Post:
DBlack (September 8th, 2007)