Windows Server Troubleshooting - NetStat

Click here to start saving with ING DIRECT!

Home | Up | Methodology | Architecture | Tools | Memory | Processor | Registry | File System | Network | Active Directory | Contents

Get the Book

Major Topics
Counters
Browser
Bindings
Network Monitor
Commands
Name Resolution
Ethernet
Protocols
Other Topics
IPConfig
TraceRt
NetStat
NBTStats
Net
PathPing
Route
ARP
More Detail

eXpert Genealogy

Memory from Crucial.com


2003-2006 Team Approach Limited
All rights reserved


Use NETSTAT to view protocol statistics. TCP retransmissions occur when the receiver does not acknowledge the receipt of a message segment. Although it is not unusual to see some retransmissions, excessive retransmissions indicate a possible cabling problem. Use NETSTAT -s to view protocol statistics including TCP segment retransmissions.

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval]

-a Displays all connections and listening ports.
-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.
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.

C:\>NETSTAT -s

IPv4 Statistics

Packets Received = 56315
Received Header Errors = 0
Received Address Errors = 3
Datagrams Forwarded = 0
Unknown Protocols Received = 0
Received Packets Discarded = 224
Received Packets Delivered = 56091
Output Requests = 43325
Routing Discards = 0
Discarded Output Packets = 8
Output Packet No Route = 0
Reassembly Required = 0
Reassembly Successful = 0
Reassembly Failures = 0
Datagrams Successfully Fragmented = 0
Datagrams Failing Fragmentation = 0
Fragments Created = 0

ICMPv4 Statistics

Received Sent
Messages 239 155
Errors 0 0
Destination Unreachable 23 6
Time Exceeded 102 0
Parameter Problems 0 0
Source Quenches 0 0
Redirects 0 0
Echos 3 146
Echo Replies 44 3
Timestamps 0 0
Timestamp Replies 0 0
Address Masks 0 0
Address Mask Replies 0 0
TCP Statistics for IPv4

Active Opens = 699
Passive Opens = 251
Failed Connection Attempts = 0
Reset Connections = 95
Current Connections = 8
Segments Received = 40912
Segments Sent = 38590
Segments Retransmitted = 1216

UDP Statistics for IPv4

Datagrams Received = 14921
No Ports = 243
Receive Errors = 0
Datagrams Sent = 3160