netstat help

w^rl0rdw^rl0rd Posts: 329Member
Why is it that when I do a netstat, my local and foreign address fields are ports on my computer. For example, here is a line from a netstat command on my machine:

TCP CPU:1025 CPU:1772 TIME_WAIT

Comments

  • RussSRussS Posts: 2,068Member
    try typing netstat ? and you will get a list of switches to use ....

    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 th
    option.
    -n Displays addresses and port numbers in numerical form.
    -o Displays the owning process ID associated with each connec
    -p proto Shows connections for the protocol specified by proto; pro
    may be any of: TCP, UDP, TCPv6, or UDPv6. If used with th
    option to display per-protocol statistics, proto may be an
    IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
    -r Displays the routing table.
    -s Displays per-protocol statistics. By default, statistics
    shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDP
    the -p option may be used to specify a subset of the defau
    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.
    www.supercross.com
    FIM website of the year 2007
Sign In or Register to comment.