[root@localhost:~] net-stats -h
Usage:
-l : List ports in system
-a : Print absolute counts instead of per second counts
-c
-d
-f : ignore version check
-h : this message
-i
-n
-o
Specify ports of interest as one of (Prioritized List of options)
-A : Get stats for all ports on host
-S
Lists stats for all non mgmt/test ports
-N
List stats for all ports on switch that contains ‘N’
-V
Find switches that contains the VM’s ports. Print stats for VM’s ports and uplinks
-s : Get storage world stats
-I : Get SCSI and VSCSI storage I/O stats
-D
To be used along with storage stat specs
Can be used multiple times
eg: net-stats -I -ta -D vmhba0 -D vmhba1
OR specify port spec on command line
-p
-t
OR specify port spec in a config file
-C
File Format:
Stats Spec can contain one or more of these characters
c : Coalesce Stats: Only for vnics
i : Interrupt stats: Only for vmnics
h : Cluster and Packet size histograms
v : virtual nic stats
e : Detailed error stats
q : Queue Stats for port/nic
Q : Detailed Queue stats for the port/nic
f : Detailed Queue filter information for port/nic
W : world stats for the tx, vmnic/vmknic worlds
V : vcpu histograms
S : System time breakdown by pcpus
n : NIOC stats
p : Passthru/sriov stats
P : Detailed sriov/passthru stats
E : Enable stats collection for ENS module
For ENS lcore stats:
lcore in : vnic tx/pnic rx
lcore out : vnic rx/pnic tx
I : IOChain InputFilters stats
O : IOChain OutputFilters stats
Stats Spec for Storage stats (-I)
d : SCSI Device Stats
a : SCSI Adapter Stats
t : SCSI Path Stats
s : VSCSI Stats
Note:
net-stats reads multiple vsi nodes, one at a time, using system calls
As data in the vsi nodes are continuously updated, there is going to
be some inconsistency in numbers, hopefully, not a lot
For ENS lcore stats:
lcore in : vnic tx/pnic rx
lcore out : vnic rx/pnic tx
Original: https://blog.csdn.net/m0_58983558/article/details/127809798
Author: 579YOU
Title: vSphere ESXI主机网络分析工具
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/656441/
转载文章受原作者版权保护。转载请注明原作者出处!