Computer Networks/Netstat/Statistics

From Wikiversity
Jump to navigation Jump to search

Netstat is a command-line tool that displays network statistics on a variety of operating systems. This activity will show you how to use the netstat command to display statistics by protocol.

Preparation[edit | edit source]

To prepare for this activity:

  1. Start your operating system.
  2. Log in if necessary.

Activity 1 - Display Statistics by Protocol[edit | edit source]

To display statistics by protocol:

  1. Open a command prompt.
  2. Type netstat -s.
  3. Press Enter.
  4. Observe the statistics for IPv4, IPv6, ICMPv4, ICMPv6, TCP, and UDP.
  5. Close the command prompt to complete this activity.

Readings[edit | edit source]

References[edit | edit source]