Now that you're on the network, how can you see what's going on? There are several ways to look at the network, and we'll consider each in turn. Unlike many commercial operating systems, FreeBSD commands such as netstat(8) and sockstat(1) give you more information about the network than can possibly be healthy.
Current Network Activity
netstat(8) is a general-purpose network management program that displays different information depending on the flags it's given. One common question people have is, "How much traffic is my system pushing right now?" netstat(8)'s
-w option displays how many packets and bytes your system is processing. The
-w flag takes one argument, the number of seconds between updates. Adding the
-d flag tells netstat(8) ...