You configure and administer datalinks and flows by using the dladm and flowadm commands, respectively. You use the newer dlstat and flowstat commands to obtain statistics on network traffic for datalinks and flows, respectively.
The following are some basic examples that show how to monitor network traffic on datalinks and flows. For more information, see the dlstat (1M) and flowstat (1M) man pages.
Display inbound and outbound traffic statistics per link as follows:
# dlstat link
# dlstat show-link link
Display inbound and outbound traffic statistics per physical network device as follows:
# dlstat show-phys link
Display inbound and outbound traffic statistics per port and link aggregation as follows:
# dlstat show-aggr link
For more examples, see Chapter 8, Monitoring Network Traffic and Resource Usage, in Managing Network Virtualization and Network Resources in Oracle Solaris 11.2 .