< Computer Networks < Netstat
Netstat is a command-line tool that displays network statistics on a variety of operating systems. netstat with no options displays active TCP connections. This activity will show you how to use the default netstat command.
Preparation
To prepare for this activity:
- Start your operating system.
- Log in if necessary.
Activity 1 - Display Active TCP Connections
To display active TCP connections:
- Open a command prompt.
- Type netstat.
- Press Enter.
- Observe active TCP connections, the local address and port number, the remote name or address and port number, and the connection status.
- 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.