Skip to main content

statistics lif show

Contributors
Suggest changes

Logical network interface throughput and latency metrics

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

This command continuously displays performance data for LIFs at a regular interval. The command output displays data in the following columns:

  • LIF - logical interface name.

  • Vserver - vserver name.

  • Recv Packet - packets received per second.

  • Recv Data (Bps) - bytes received per second.

  • Recv Errors - receive errors per second.

  • Sent Packet - packets sent per second.

  • Sent Data (Bps) - bytes sent per second.

  • Sent Errors - transfer errors per second.

  • Current Port - current use port.

Parameters

[-lif <text>] - LIF

Selects the LIF for which you want to display performance data.

[-vserver <vserver name>] - Vserver

Selects the vserver for which you want to display performance data.

[-sort-key <text>] - Column to Sort By

If this parameter is specified, the command displays statistics sorted by the specified column.

-interval <integer> - Interval

Specifies, in seconds, the interval between statistics updates. The default setting is 5 seconds.

-iterations <integer> - Iterations

Specifies the number of iterations the command runs before terminating. The default setting is 1. If the number is 0 (zero), the command continues to run until you interrupt it by pressing Ctrl-C.

-max <integer> - Maximum Number of Instances

Specifies the maximum number of LIFs to display. The default setting is 25.

Examples

The following example displays LIFs statistics:

cluster1::> statistics lif show
cluster1 : 12/31/1969 16:00:04
                                Recv                Sent
                          Recv  Data   Recv   Sent  Data   Sent Current
         LIF    Vserver Packet (Bps) Errors Packet (Bps) Errors    Port
------------ ---------- ------ ----- ------ ------ ----- ------ -------
node2_clus_1    Cluster      3   536      0      3   338      0     e0a
node2_clus_2    Cluster      3   398      0      3   287      0     e0b
node1_clus_2    Cluster      3   338      0      3   536      0     e0b
node1_clus_1    Cluster      3   287      0      3   398      0     e0a
 node2_mgmt1 ncluster-1      0     0      0      0     0      0     e0c
 node1_mgmt1 ncluster-1      0     0      0      0     0      0     e0c

[...]