跳转到主内容

Coming soon...New Support-Specific categorization of Knowledge Articles in the NetApp Knowledge Base site to improve navigation, searchability and your self-service journey.

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

Views:
40
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
core
Last Updated:

适用场景

在7-模式下运行的Data ONTAP

问题解答

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

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

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

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

默认值:off

有效:在CIFS客户端重新连接时

persistence:在系统重新启动后仍然有效

使用情况
         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手册页

 

Scan to view the article on your device