network connections active show-lifs
Show a count of the active connections by logical interface
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The network connections active show-lifs
command displays the number of active connections on each logical interface, organized by node and Vserver.
The results of this command set are refreshed independently every 30 seconds and might not reflect the immediate state of the system. |
Parameters
- {
[-fields <fieldname>,…]
-
If you specify the
-fields <fieldname>, …
parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - |
[-instance ]
} -
If you specify the
-instance
parameter, the command displays detailed information about all fields. [-node {<nodename>|local}]
- Node-
Use this parameter to display information only about the connections on the node you specify.
[-vserver <vserver>]
- Vserver-
Use this parameter to display information only about the connections that are using the node or Vserver you specify.
[-lif-name <lif-name>]
- Logical Interface Name-
Use this parameter to display information only about the connections that are using the logical interface you specify.
[-count <integer>]
- Client Count-
Use this parameter to display only logical interfaces with the number of active client connections you specify.
[-blocked-count <integer>]
- (DEPRECATED)-Load Balancing Blocking Count-
This parameter has been deprecated and may be removed in a future version of Data ONTAP. Use this parameter to display information only about data logical interfaces blocked from migrating and the connection that is blocking it.
Examples
The following example displays information about the servers and logical interfaces being used by all active connections:
cluster1::> network connections active show-lifs Node Vserver Name Interface Name Count -------- ------------ --------------- ------ node0 vs0 datalif1 3 vs0 cluslif1 6 vs0 cluslif2 5 node1 vs0 datalif2 3 vs0 cluslif1 3 vs0 cluslif2 5 node2 vs1 datalif2 1 vs1 cluslif1 5 vs1 cluslif2 3 node3 vs1 datalif1 1 vs1 cluslif1 2 vs1 cluslif2 1
At privilege levels above "admin", the command displays an extra column.
cluster1::*> network connections active show-lifs LB Migrate Node Vserver Name Interface Name Count Blocking -------- ------------ --------------- ------ ---------- node0 vs0 datalif1 3 0 vs0 cluslif1 6 0 vs0 cluslif2 5 2 node1 vs0 datalif2 3 0 vs0 cluslif1 3 0 vs0 cluslif2 5 0 node2 vs1 datalif2 1 0 vs1 cluslif1 5 0 vs1 cluslif2 3 2 node3 vs1 datalif1 1 0 vs1 cluslif1 2 0 vs1 cluslif2 1 0