Skip to main content

network connections active show-services

Show a count of the active connections by service

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

Description

The network connections active show-services command displays the number of active connections by protocol service, organized by node.

Note
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
This parameter is used by the system to break down the output per vserver
[-service <protocol service>] - Protocol Service
Use this parameter to display information only about the connections that use the protocol service you specify. Possible values include: nfs, iscsi, and loopback.
[-count <integer>] - Client Count
Use this parameter to display information only about protocol services with the number of active client connections you specify.

Examples

The following example displays information about all protocol services being used by active connections:

cluster1::> network connections active show-services
Node Vserver Name Service Count
--------- -------------- --------- ------
node0
vs1 mount 3
vs1 nfs 14
vs1 nlm_v4 4
vs1 cifs_srv 3
vs1 port_map 18
vs2 rclopcp 27
node1
vs1 nfs 5
vs2 rclopcp 12
vs2 nfs 4
vs2 port_map 8