Hello, I'm trying to find out the most accessed (read from and/or written to) file in a volume and "gluster volume top" does not seem to be helping me at all. For example the following would only output the list of bricks: gluster volume top xenvms write nfs brick localhost:/bricks/xenvms or gluster volume top xenvms write "gluster volume top xenvms open" says 0 fds opened for all bricks. I'm sure there should be some activity on this volume as I have a Xenserver reading & writing at 200-300 Mbps to it over NFS. Any pointers? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
On 16.09.2013 11:22, Nux! wrote:> Hello, > > I'm trying to find out the most accessed (read from and/or written > to) file in a volume and "gluster volume top" does not seem to be > helping me at all. > For example the following would only output the list of bricks: > gluster volume top xenvms write nfs brick localhost:/bricks/xenvms or > gluster volume top xenvms write > > "gluster volume top xenvms open" says 0 fds opened for all bricks. > > I'm sure there should be some activity on this volume as I have a > Xenserver reading & writing at 200-300 Mbps to it over NFS. > > Any pointers?Anyone? -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
On 16/09/2013, at 11:22 AM, Nux! wrote:> Hello, > > I'm trying to find out the most accessed (read from and/or written to) file in a volume and "gluster volume top" does not seem to be helping me at all.This sounds like the kind of thing GlusterFlow is meant to address: https://github.com/justinclift/glusterflow The stats collection part is functional, and the front end reporting part is still extremely basic. It *will* show the busiest files in a volume though. ... and if you happen to be good with Python and would be ok to send Pull Requests for any enhancements you do... that would be even better. :) Regards and best wishes, Justin Clift -- Open Source and Standards @ Red Hat twitter.com/realjustinclift