跳转到主内容

如何读取 AFF/FAS 系统上的 IFstat 计数器

Views:
39
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
hw
Last Updated:

适用场景

  • ONTAP 9
  • 集群模式 Data ONTAP 8
  • Data ONTAP 7-模式

问题描述

Data ONTAP 7-模式

node_name> ifstat [ -z ] -a | <interface_name>

集群模式 Data ONTAP 8 和 ONTAP 9 

此命令从每个节点的 Nodeshell 执行

cluster::> system node run -node <node_name> -command ifstat [ -z ] -a | <interface_name>

输出示例

cluster::> system node run -node node_example> -command ifstat e0a

-- interface  e0a  (6 days, 19 hours, 46 minutes, 1 second) --

RECEIVE
 Frames/second:     6  | Bytes/second:    551  | Errors/minute:     0 
 Discards/minute:    0  | Total frames:    249k | Total bytes:    19489k
 Total errors:     0  | Total discards:    0  | Multi/broadcast:   235k
 No buffers:      0  | Non-primary u/c:    0  | L2 terminate:     0 
 Tag drop:       0  | Vlan tag drop:     0  | Vlan untag drop:    0 
 Vlan forwards:     0  | Vlan broadcasts:    0  | Vlan unicasts:     0 
 CRC errors:      0  | Alignment errors:   0  | Runt frames:      0 
 Long frames:      0  | Fragment:       0  | Jabber:        0 
 Xon:          0  | Xoff:         0  | Ring full:       0 
 Jumbo:         0  | Jumbo error:      0  | Index error:      0 
 Force wakeup:     0 
TRANSMIT
 Frames/second:     4  | Bytes/second:    659  | Errors/minute:     0 
 Discards/minute:    0  | Total frames:   26386  | Total bytes:    2443k
 Total errors:     0  | Total discards:    0  | Multi/broadcast: 11256 
 Queue overflows:    0  | No buffers:      0  | Single collision:   0 
 Multi collisions:   0  | Late collisions:    0  | Max collisions:    0 
 Deferred:       0  | Xon:          0  | Xoff:         0 
 MAC Internal:     0  | Jumbo:         0 
LINK_INFO
 Current state:     up | Up to downs:      0  | Speed:       1000m
 Duplex:       full | Flowcontrol:     full

注:
  • -z 参数将清除统计信息
  • -a 参数用于显示所有网络接口的统计信息、包括虚拟主机和环回地址。或者、您也可以省略 -a 此参数并指定网络接口的名称。

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.