This section explains how to use the
qq network_list_connections
command.Examples
To ensure the optimal performance of your cluster, its client connections must be distributed evenly.
To View Client Connections in JSON Format
Run the qq network_list_connections
command to list the IP address and protocol for each client.
The following is example output.
[{
"connections": [{
"network_address": "203.0.113.0",
"type": "CONNECTION_TYPE_SMB"
},{
"network_address": "203.0.113.1",
"type": "CONNECTION_TYPE_NFS"
}],
"id": 1
},
...
]
To View the Client Connection Counts
Run the qq network_list_connections
command and use the --counts
flag to view the balance of client connections.
Note
Using the
Using the
--counts
flag returns only the SMB and NFS connections without the client IP addresses.The following is example output.
Total: SMB 70 NFS 30
Node1: SMB 17 NFS 8
Node2: SMB 17 NFS 7
Node3: SMB 18 NFS 6
Node4: SMB 18 NFS 9
Description
Get the list of SMB and NFS protocol connections per node.
Usage
qq network_list_connections [-h] [-c | --json]
Flags
Flag Name | Required | Description |
---|---|---|
-c
|
No | Pretty-print connection counts for the cluster and each node |
--json
|
No | Print json instead of default pretty-printed connection table |