跳转到主内容

要为单个用户会话收集哪些CIFS统计信息?

Views:
52
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
7dot
Last Updated:

适用场景

在7-模式下运行的Data ONTAP

问题解答

存储系统或控制器运行Data ONTAP 8.x for CIFS时。管理员可以收集操作、读取、写入、IO和可疑统计信息。带有 cifs.per_client_stats.enable 选项的存储系统 on 会按客户端收集统计信息。这样、便可使用 cifs top 命令以及 -u -h vFilers的CIFS stat和选项。

注意:管理员必须注意、在收集每个客户端的统计信息时会产生开销。

开销可能会显著影响存储系统性能。如果关闭这些选项、则会丢弃任何现有的每个客户端统计信息。

cifs.per_client_stats.enable off 默认情况下、此选项处于启用状态。

默认值:off

Effective:在CIFS客户端重新连接时

持久性:在系统重新启动后仍然有效

使用情况
         cifs top [-n <maxclients>] [-v] [-s <sort>] [-a <avg>]
               <sort> is {ops|reads|writes|ios|suspicious}.
               <avg> is {smooth|now|total}.
                Above two can be abbreviated and default to first choice.

用法:
         cifs stat [-v[v]] [-h <ip-or-host>] [-u <user>] [ <interval> ]
         cifs stat [-z]
         cifs stat [-c]
               -v, -h and -u only available when the options "cifs.per_client_stats.enable" is on.
               -h option only available in vfiler context.
               -u option only available in vfiler context.

示例

user1-2> cifs top
 ops/s  reads(n, KB/s) writes(n, KB/s) suspect/s   IP              Name
     0 |      0        0 |   0    0 |      0 |    10.63.97.34      NETAPPuser1



 

追加信息

NA_CIFS手册页

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.