Archives de catégorie : Performance

Display « big talkers » clients on cDOT

It is a common request from customer that wants to know who are the most active clients to a system. Though not hard to obtain, there is no obvious menu that lets you do that, so there it is :

First of all, you need to be in advanced mode and start statistics collection for the « client » object :

netapptest2::*> set advanced
Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel.
Do you want to continue? {y|n}: y

netapptest2::*> statistics start -object client
Then you let it run for some time, and you can start looking at who the most active clients are :
 netapptest2::*> statistics show -object client -instance !Cluster* -sort-key nfs3_ops -counter nfs3_ops -tab

ntap2_vs1: client: 5/31/2016 23:59:26

instance nfs3
 name ops
 ---------------------- ----
 ntap2_vs1:10.20.245.11 31
 ntap2_vs1:10.20.45.95 0
 ntap2_vs1:10.20.45.67 0
 ntap2_vs1:10.20.45.60 0
 ntap2_vs1:10.20.45.58 0
 ntap2_vs1:10.20.45.43 0
 ntap2_vs1:10.20.45.40 0
 ntap2_vs1:10.20.45.39 0
 ntap2_vs1:10.20.45.37 0
 ntap2_vs1:10.20.45.33 0
 ntap2_vs1:10.20.45.235 0
 ntap2_vs1:10.20.45.234 0
 ntap2_vs1:10.20.45.226 0
 ntap2_vs1:10.20.45.225 0
 ntap2_vs1:10.20.45.223 0
 ntap2_vs1:10.20.45.221 0
 ntap2_vs1:10.20.45.218 0
 ntap2_vs1:10.20.45.195 0
 ntap2_vs1:10.20.45.19 0
 ntap2_vs1:10.20.45.183 0
 ntap2_vs1:10.20.45.18 0
 ntap2_vs1:10.20.45.158 0
 ntap2_vs1:10.20.45.157 0
 ntap2_vs1:10.20.45.156 0
 ntap2_vs1:10.20.45.134 0
 ntap2_vs1:10.20.45.133 0
 ntap2_vs1:10.20.45.132 0
 ntap2_vs1:10.20.45.124 0
 ntap2_vs1:10.20.45.120 0
 ntap2_vs1:10.20.45.118 0
 ntap2_vs1:10.20.45.114 0
 ntap2_vs1:10.20.45.113 0
 ntap2_vs1:10.20.45.108 0
 ntap2_vs1:10.20.45.100 0
 34 entries were displayed.

You can use another field instead of nfs3_ops, just use « ? » character to get a list of available fields when you get to that part of the command line.

Here are the options available at this time, you can also use multiple fields by using a comma « , » separator.

  cifs_ops                    
  cifs_read_ops               
  cifs_read_size              
  cifs_write_ops              
  cifs_write_size             
  instance_name               
  instance_uuid               
  local_ops                   
  mount_ops                   
  nfs2_ops                    
  nfs3_ops                    
  nfs4_ops                    
  node_name                   
  node_uuid                   
  process_name                
  remote_ops                  
  rx_data                     
  rx_packets                  
  total_ops                   
  tx_data                     
  tx_packets                  
  vserver_id                  
  vserver_name