Add "clients" command to list the clients attached to a volume. It would be handy to have a command that would show the clients attached to a volume. As it is now, I find the port on a server that a volume is listening on and look at netstat for connections.
This would be a great feature. But perhaps this syntax would be more logical: # gluster volume info <volname> clients
agreed
Ah! I didn't notice that the bug's title has the same syntax :-)
present in upstream as 'volume status <VOLNAME> clients'
Verified with release-3.3 (commit-id 0cdb1d147afd644153855f6557bf7e809e5444f0) # gluster volume status test2 clients Client connections for volume test2 ---------------------------------------------- Brick : shortwing:/falcon/d1 Clients connected : 2 Hostname BytesRead BytesWritten -------- --------- ------------ 127.0.0.1:1016 1856 1400 127.0.0.1:1011 41525807 900240 ---------------------------------------------- Brick : shortwing:/falcon/d2 Clients connected : 2 Hostname BytesRead BytesWritten -------- --------- ------------ 127.0.0.1:1015 1528 1120 127.0.0.1:1010 48378635 915184 ----------------------------------------------