Skip to main content

vserver nfs connected-clients show

Contributors
Suggest changes

Display List of recent NFS clients information

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

Description

The `nfs connected-clients show ` command displays information about currently connected NFS clients, other NFS clients that are are currently idle but can be connected, and a list of recently unmounted clients. If a client connected to the NFS server is idle for longer than the maximum cache idle time, then the entry will be removed. By default, the maximum cache idle time is 48 hours.

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 Name

Use this parameter to display information only about the specified node.

[-vserver <vserver>] - Vserver

Use this parameter to display information only about the specified vserver.

[-data-lif-ip <IP Address>] - Data LIF IP Address

Use this parameter to display information only about the specified data LIF IP.

[-client-ip <IP Address>] - Client IP Address

Use this parameter to display information only about the specified client IP.

[-volume <volume name>] - Volume Accessed

Use this parameter to display information only about the specified volume.

[-protocol <Client Access Protocol>] - Protocol Version

Use this parameter to display information only about the specified protocol.

[-idle-time <[<integer>d][<integer>h][<integer>m][<integer>s]>] - Idle Time (Sec)

Use this parameter to display the time elapsed since the client sent the last request for this volume.

[-local-reqs <integer>] - Number of Local Reqs

Use this parameter to display a counter tracking requests that are sent to the volume with fast-path.

[-remote-reqs <integer>] - Number of Remote Reqs

Use this parameter to display a counter tracking requests that are sent to the volume with slow-path to remote Dblade using a CSM session.

[-policy-name <text>] - Export Policy Name

Use this parameter to display the Policy Name for this volume.

[-trunking-status {true|false}] - Trunking Status

Use this parameter to display trunking status for the specified client/connection.

Examples

The following example displays the connected clients information.

cluster-1::*> nfs connected-clients show
Node: node1
  Vserver: vs1
  Data-Ip: xxx.xxx.xxx.xxx
                                                         Local Remote
Client-Ip       Protocol Volume    Policy   Idle-Time    Reqs  Reqs   Trunking
--------------- -------- --------- -------- ------------ ----- ------ --------
xxx.xxx.xxx.xxx nfs4.1   root_vol  pol1     6s           9     0      false
xxx.xxx.xxx.xxx nfs3     vol1      pol1     56s          7     0      false
xxx.xxx.xxx.xxx nfs4.1   vol1      pol1     6s           7     0      false
3 entries were displayed.