< Computer Networks < Netstat

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

To prepare for this activity:

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

Activity 1 - Display Statistics by Protocol

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

References

This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.