perf_analyzer.py is a read-only script that ingests a net-stats capture from an ESXi host, and generates a performance report.net-stats file captured on an ESXi host and copied to that system./opt/vmware/nsx-common/python/adf/collector/esx/perf_analyzer.pyDuring the performance issue under investigation, follow the steps below to gather the required data and to run the script.
Assuming an ESXi host with NSX 4.2.4+ or VCF 9.1 installed:
-i 10) of net-stats data and write it to file:net-stats -A -t WwQqlcvVnDhsrpzPxXi -i 10 > /tmp/netstats.json
cd /opt/vmware/nsx-common/python/adf/collector/esx/python3 perf_analyzer.py /tmp/netstats.json > /tmp/perfreport.txt