Product Support
Product Activation FAQs
Downloads
Maintenance Programs
White Papers
WildPackets Forums
Technical Compendium
Additional Resources
Tip of the Month
Wireless Tips
Plugin Tips
Product Versions
Networking Books
Networking Glossary
Networking Links
Tech Support Requests
Home > Support > Additional Resources > Tip of the Month

Tip of the Month

June 2000

The "netstat" command

One of the handiest troubleshooting tools when focusing on a particular workstation or server problem may be right at your fingertips!

Unix, Linux, and Windows operating systems come with the nifty little "netstat" command. There are several options for you to explore, but the "netstat -s" option comes in handy for diagnosing TCP/IP related problems.

For IP, you can see how many packets were received and if any were discarded. You also get a list of ICMP error messages that will tell you, for instance, how many "destination unreachable" packets were returned to the workstation (or server for that matter).

For UDP, you get a count of the number of sent and received UDP datagrams and how many datagrams were received for an unknown port.

For TCP, you can see how many segments were sent and received, how many of those had to be resent (transport retransmissions), a count of failed connection attempts, and how many resets were sent.

This is very valuable information. Some implementations of netstat have even more statistics then the examples listed above.

By watching these statistics periodically during a troubleshooting session with a user or server, you can use a protocol analyzer at the same time to get more details about transport retransmissions, unreachable IP addresses, port numbers that other users/applications are maliciously or erroneously trying to get to, etc.

Download a demo of OmniPeek
Custom Integration & Engineering
WildPackets understands that one size does not fit all. Moreover, we all face new challenges every day. WildPackets Custom Engineering performs software development and systems integration, complementing WildPackets products and enhancing the capabilities of Network Operations Centers.
Learn more...

Network Analysis & Consulting
WildPackets offers a full spectrum of professional services, available remote and on-site. Our network engineers provide expertise for your network troubleshooting, capacity planning, or baseline performance analysis needs.
Learn more...

Tip of the Month
Time to ‘Select’
This month I’m going to address the need of being able to actively select certain packets from an active capture. This occurs when you have an active capture running, which you cannot stop for whatever reason, but you wish to apply a filter to it.