Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Get The TCP/IP Guide for your own computer.
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  TCP/IP Key Applications and Application Protocols
           9  TCP/IP Administration and Troubleshooting Utilities and Protocols

Previous Topic/Section
TCP/IP DNS Registry Database Lookup Utility (whois/nicname)
Previous Page
Pages in Current Topic/Section
1234
5
6
Next Page
TCP/IP Configuration Utilities (ipconfig, winipcfg and ifconfig)
Next Topic/Section

TCP/IP Network Status Utility (netstat)
(Page 5 of 6)

Windows netstat

The Windows netstat utility is quite a bit simpler than the UNIX one, because it has a lot fewer options. This is good for those of us learning about the program, but not so wonderful for those who want maximum power and flexibility in using it.

Windows netstat Option Groups, Options and Parameters

Like the UNIX netstat, the Windows one has a set of options groups that dictate the general type of information shown, and a few universal options that can be used with multiple groups. The option groups and generic options are shown in Table 300 and Table 301.


Table 300: Typical Windows netstat Option Groups, Options and Parameters

Option Group, Options and Parameters

Description

netstat [-n] [-o] [<interval>]

When called with no mandatory options, netstat displays information about active TCP connections.

netstat -a [-n] [-o]
[-p <protocol> [<interval>]

Displays all active TCP connections, as well as both TCP and UDP ports to which the host is listening.

netstat -e [<interval>]

Shows statistics for Ethernet interfaces.

netstat -r [<interval>]

Displays the current routing table for the device.

netstat -s [-p <protocol>]
[<interval>]

Displays TCP/IP statistics for the system by protocol.



Table 301: Typical Windows netstat Universal Options and Parameters

Option / Parameters

Description

-n

Displays network addresses in numeric form instead of symbolic name form. Also shows ports in numeric form instead of displaying standard process names associated with well-known UDP or TCP port numbers.

-o

Displays the process ID associated with each connection.

-p <protocol>

Limits the display to only the information associated with the specified protocol.

<interval>

Causes the netstat command to be repeated every “<interval>” seconds, rather than just displaying its information once. This can be used with any of the netstat option groups.

For example, “netstat -s 5” would display TCP/IP statistics every five seconds.


Previous Topic/Section
TCP/IP DNS Registry Database Lookup Utility (whois/nicname)
Previous Page
Pages in Current Topic/Section
1234
5
6
Next Page
TCP/IP Configuration Utilities (ipconfig, winipcfg and ifconfig)
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.