System Administration Guide: Network Interfaces and Network Virtualization

ProcedureHow to Obtain Statistics on Flows

Flow statistics help you evaluate packet traffic on your network before assigning bandwidth and priorities to already configured flows. Like VNIC statistical information, flow statistics are also useful for provisioning and, possibly, for billing purposes.

Before You Begin

This procedure assumes that you have configured flows, as described in Chapter 13, Configuring Resource Management on an Interface.

  1. On the system where you configure flow control, become superuser or assume the equivalent root role in the global zone.

    To create and assign the root role, see How to Make root User Into a Role in System Administration Guide: Security Services.

  2. Observe packet flow statistics for a system that is configured with interface-based flow control.

    The following example shows output for a system with two network interfaces that uses traditional bandwidth control. The system does not have a virtual network configured.


    # flowadm show-flow -s
    FLOW        IPACKETS  RBYTES      IERRORS OPACKETS  OBYTES      OERRORS
    net20       0         0           0       1723      72366       0
    httpsflow   0         0           0       32932     3225851     0
    httpflow    29        3982        0       42        20799       0

    where

    net20

    is a flow for all UDP traffic across interface 10.10.3.20/24 on the internal network.

    httpsflow

    is a flow for all secure HTTP traffic over interface 192.168.3.25 , which is connected to the external network

    httpflow

    is a flow for all HTTP traffic over interface 192.168.3.25.

  3. To halt the display, press Ctrl-C.