Netstat
Old September 8th, 2007, 01:05 AM   #1 (permalink)
Gorilla
Afro Resident
 
Gorilla's Avatar
 
Gorilla is offline
Join Date: Jan 2005
Posts: 996
Thanks: 53
Thanked 106 Times in 76 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 of
Rep Power: 28
Credits: 7,877
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.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to Gorilla For This Useful Post:
DBlack (September 8th, 2007)

 
Old September 8th, 2007, 09:41 AM   #2 (permalink)
DBlack
Founder

 
DBlack's Avatar
 
DBlack is offline
Join Date: Sep 2004
Location: Atlanta, GA
Posts: 7,564
Thanks: 330
Thanked 1,330 Times in 718 Posts
DBlack has a reputation beyond reputeDBlack has a reputation beyond reputeDBlack has a reputation beyond reputeDBlack has a reputation beyond reputeDBlack has a reputation beyond reputeDBlack has a reputation beyond reputeDBlack has a reputation beyond reputeDBlack has a reputation beyond reputeDBlack has a reputation beyond reputeDBlack has a reputation beyond reputeDBlack has a reputation beyond repute
Rep Power: 192
Credits: 377,476
Nice tip; real handy for network troubleshooting.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:10 AM.


vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46