netstat
Home > Networking Definitions - Netstat
SearchNetworking.com Definitions (Powered by WhatIs.com)
EMAIL THIS
LOOK UP TECH TERMS Powered by: WhatIs.com
Search listings for thousands of IT terms:
Browse tech terms alphabetically:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #

netstat


Show me everything on Network Monitoring


Word of the Day


DEFINITION - Netstat is a common command line TCP/IP networking utility available in most versions of Windows, Linux, Unix and other operating systems. Netstat provides information and statistics about protocols in use and current TCP/IP network connections. (The name derives from the words network and statistics.)

The Windows help screen (analogous to a Linux or UNIX man page) for netstat reads as follows:

Displays protocol statistics and current TCP/IP network connections.

NETSTAT -a -b -e -n -o -p proto -r -s -v interval
-a Displays all connections and listening ports.
-b Displays the executable involved in creating each connection or listening port. In some cases well-known executables host multiple independent components, and in these cases the sequence of components involved in creating the connection or listening port is displayed. In this case the executable name is in [] at the bottom, on top is the component it called, and so forth until TCP/IP was reached. Note that this option can be time-consuming and will fail unless you have sufficient permissions.
-e Displays Ethernet statistics. This may be combined with the -s option.
-n Displays addresses and port numbers in numerical form.
-o Displays the owning process ID associated with each connection.
-p proto Shows connections for the protocol specified by proto; proto may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s option to display per-protocol statistics, proto may be any of: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6; the -p option may be used to specify a subset of the default.
-v When used in conjunction with -b, will display sequence of components involved in creating the connection or listening port for all executables.
interval Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once.

Careful perusal of this information informs the reader that netstat not only documents active TCP and UDP connections and related port addresses but that it can also tie established TCP or UDP connections to the executable files, runtime components, and process IDs that opened or use them. Netstat can also provide counts of bytes and packets sent and received via Ethernet, including unicast and non-unicast packets, discards, errors, and unknown protocols. Netstat can also show connections for transport layer protocols for IPv4 and IPv6, display routing table contents, and can redisplay selected statistics at regular intervals.

Netstat can be a helpful forensic tool when trying to determine what processes and programs are active on a computer and involved in networked communications. It can provide telltale signs of malware compromise under some circumstances and is a good tool to use to observe what kinds of communications are underway at any given time.

Learn more about Network Monitoring
NagVis -- 'Nagios: System and Network Monitoring, Second Edition,' Chapter 18: Learn to install, configure and create visual NagVis1 maps for your Nagios Web interface with Chapter 18 of "Nagios: System and Network Monitoring, 2nd Ed."
Monitoring your enterprise network with Solarwinds' ipMonitor: Learn how Solarwinds' ipMonitor can help you monitor your enterprise network in this short screencast and tip with David Davis.
On the job with a network manager -- Chapter 2 of 'Network Management Fundamentals': This chapter presents a number of scenarios to give an impression of the types of activities that are performed by people who run networks for a living.
Reducing costs and generating revenue with network monitoring: Learn to demonstrate to enterprise business and IT leaders why implementing a network monitoring system should be a priority for reducing costs and increasing revenue.
Network management: Network management involves monitoring, and analysis to ensure network performance. Learn best practices and how to understand and analyze network statistics.

LAST UPDATED: 06 Sep 2007

Do you have something to add to this definition? Let us know.
Send your comments to techterms@whatis.com

More resources from around the web:
- Learn Security Online offers an introductory tutorial about netstat.
- Antionline forums explore netstat in 'Maximum security for a connected world.'
- Microsoft Help and Support explains 'TCP Connection States and Netstat Output.'
- Microsoft Windows XP Professional product documentation offers a netstat command help file.





FILE EXTENSION AND FILE FORMAT LIST
File Extension and File Format List:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #


RELATED CONTENT
Meru reinvents wireless LAN troubleshooting and management
Meru Networks' new Service Assurance Module allows APs to pose as endpoints in order to assess wireless network health.
Green enterprise: Three networking investments that make a difference
Beefing up the network for unified communications can be greener than buying new components.
Network device management overload: Engineers managing too many boxes
Network engineers are managing more boxes than ever. How can they get on top of things?

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
10-high-day busy period  (SearchNetworking.com)
ACK  (SearchNetworking.com)




Networking & netstat Solutions
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts