Check for network traffic by typing the following:
The system responds with this:
input hme0 output input (Total) output
packets errs packets errs colls packets errs packets errs colls
95218 49983 189 1 0 218706 49983 123677 1 0
0 0 0 0 0 3 0 3 0 0
0 0 0 0 0 4 0 4 0 0
1 1 0 0 0 144 1 143 0 0
0 0 0 0 0 256 0 256 0 0
0 0 0 0 0 95 0 95 0 0
0 0 0 0 0 1171 0 1171 0 0
The
netstat command is used to monitor the system's TCP/IP network activity.
netstat can provide some basic data about how much and what kind of network activity is happening. You should ignore the first line of output, as this shows the overall activity since the system was last booted. The
-i option shows the state of the network interface used for TCP/IP traffic. The last option, 5, reissues the
netstat command every 5 seconds to get a good sampling of network activity, with each line showing the activity since the last display, in this case 5 seconds. You can press Ctrl+C to break out of the netstat command.