13.2.5. Viewing Highest Read Calls on Directory

You can view list of files which has highest directory read calls on each brick. If brick name is not specified, then the metrics of all the bricks belonging to that volume will be displayed.
To view list of highest directory read calls on each brick
  • View list of highest directory read calls on each brick using the following command:
    # gluster volume top VOLNAME readdir [nfs | brick BRICK-NAME] [list-cnt cnt]
    For example, to view highest directory read calls on brick server:/export/ of test-volume:
    # gluster volume top test-volume readdir brick server:/export/ list-cnt 10
    Brick: server:/export/dir1
    ==========Directory readdirp stats========
    
    readdirp count           directory name
    
    1996                    /clients/client0/~dmtmp
    
    1083                    /clients/client0/~dmtmp/PARADOX
    
    904                     /clients/client8/~dmtmp
    
    904                     /clients/client2/~dmtmp
    
    904                     /clients/client6/~dmtmp
    
    904                     /clients/client5/~dmtmp
    
    904                     /clients/client9/~dmtmp
    
    812                     /clients/client1/~dmtmp
    
    812                     /clients/client7/~dmtmp
    
    800                     /clients/client4/~dmtmp