Bug 764922 (GLUSTER-3190) - gluster volume info {volname} clients - list the clients attached to a volume
Summary: gluster volume info {volname} clients - list the clients attached to a volume
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3190
Product: GlusterFS
Classification: Community
Component: cli
Version: 3.1.5
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2011-07-19 05:31 UTC by Joe Julian
Modified: 2013-12-19 00:06 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:38:51 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Joe Julian 2011-07-19 05:31:10 UTC
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.

Comment 1 Vikas Gorur 2011-07-19 12:34:07 UTC
This would be a great feature. But perhaps this syntax would be more logical:

# gluster volume info <volname> clients

Comment 2 Joe Julian 2011-07-19 13:17:52 UTC
agreed

Comment 3 Vikas Gorur 2011-07-19 13:24:29 UTC
Ah!

I didn't notice that the bug's title has the same syntax :-)

Comment 4 Amar Tumballi 2012-02-18 07:43:05 UTC
present in upstream as 'volume status <VOLNAME> clients'

Comment 5 Anush Shetty 2012-05-19 05:08:10 UTC
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
----------------------------------------------


Note You need to log in before you can comment on or make changes to this bug.