Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Using performance collection tools to gather data for fault analysis (1006797)

Last Updated: 3/20/2024Categories: How toTotal Views: 66581Language:
Chinese (Simplified)JapaneseEnglish

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Purpose

This article explains how to use performance collection tools to gather data for analysis of faults such as:

Unresponsive ESX hosts

Unresponsive virtual machines

ESX host purple diagnostic screens

Resolution

Why gather performance data for a fault?

If the diagnostic logs do not help you determine the cause of a fault, you may need to use performance collection tools to gather further data for analysis.

Set up performance collections tools to gather data about faults that may occur.

Performance gathering tools

VMware recommends the following tools for gathering performance data:

top

The top utility provides a list of CPU-intensive tasks for the ESX host Service Console.

Use top in batch mode for Fault troubleshooting by directing the output to a file so that it can be reviewed after a recurrence.

Note: The top command is not available for ESXi.

To run the top utility, run the command:

# top –bc –d <delay in seconds> [–n <iterations>] > output-perf-stats-file.txt

Use the information in the output file to identify any trends before the fault.

esxtop

The esxtop tool provides performance statistics for the entire ESX/ESXi host. It provides details of network, storage, CPU, and memory load from the VMkernel perspective. It provides details on a VMkernel world basis.

To collect the data over long periods of time, run esxtop in batch mode. Direct the output to a file so that it can be reviewed after the fault.

To run the esxtop tool, run the command:

# esxtop –b –d <delay in seconds> [-n <iterations>] > output-perf-statistics-file.csv

Note:

For ESX/ESXi 3.0.0 and earlier versions, the output is in plain text. For ESX/ESXi 3.0.0 and later versions, the output is in Comma-Separated Values (CSV). This file can be read in Microsoft's Performance Monitor or in a spreadsheet utility.

Make sure you have enough free space available on the location from where you are running the command and on the datastore where the output file saved. Also make sure there is no performance issue on the datastore where the output file is saved.

resxtop

Like esxtop, the resxtop tool provides performance statistics for a specified ESX host in the network. It provides the same performance information as esxtop and may be used either after deploying the VMware vSphere Management Assistant (vMA) virtual appliance or installing the VMware Command-Line Interface (vCLI).

For more information, see vSphere Management Assistant documentation and vSphere Command Line Interface documentation.

resxtop is particularly helpful for ESX and ESXi deployments where an interactive shell login is unavailable.

To run the resxtop tool and collect batch performance data, log into the vMA or open the vCLI, and execute the command:

# resxtop [server] [vihost] [portnumber] [username] -b -d <delay in seconds> [-n <interations>] > output-perf-statistics-file.csv

Note: For additional information on using resxtop, see the Resource Management Guide.

vm-support -s

Use the vm-support command with the -s parameter to collect performance statistics, system configuration information, and logging. Submit the file generated by this command to VMware Support for further assistance, if required.

For information on the vm-support command in ESXi 5.0, see Collecting performance snapshots using vm-support (1967).

Performance Monitor (PERFMON.EXE)

Microsoft's Performance Monitor is a utility that comes with every Microsoft Windows NT-based Operating System. This utility can be used to monitor local and remote Microsoft Windows machines. It can log performance data and display data from logs or real-time data.

This utility is useful when reviewing data collected from the esxtop tool and for troubleshooting virtual machine unresponsiveness. When using Performance Monitor for virtual machine unresponsiveness, collect the data remotely from another Microsoft Windows machine so that the utility does not affect the data being gathered.

For more information about Performance Monitor on your specific version of Windows, refer to Microsoft support sites.

Other tools

Although VMware recommends the tools listed in this article, other performance collection tools may help you identify issues leading to a fault.

Analyzing the data

When reviewing the collected data:

Look at overall system performance. If the system was running normally when a fault occurred, a hardware issue may be responsible. For more information, see Interpreting an ESX host purple diagnostic screen (1004250).

Look for trends in abnormal behaviour of the system compared to established baselines. When the abnormal subsystem is identified, work to correct the issue.

Look for processes that may be consuming abnormal amounts of RAM or CPU time.

Pay special attention to events that occurred immediately prior to the fault. Any anomalies may provide clues to the reasons of the fault.

Related Information

Notes:

For more information, see Interpreting an ESX host purple diagnostic screen (1004250)

File a Support Request with VMware Support and note this KB article ID in the problem description. For more information, see How to Submit a Support Request

Gather VMware Support Script Data. For more information, see Collecting Diagnostic Information for VMware Products (1008524)

For more information on ESXi 5.5, see the VMware vSphere 5.5 Documentation Center

To be alerted when this document is updated, click the Subscribe to Article link in the Actions box

Recording ESX or ESXi VMkernel state with vsi_traverse
パフォーマンス収集ツールを使用した障害分析データの収集
Collecting performance snapshots using vm-support in ESX and ESXi
使用性能收集工具收集数据以进行故障分析

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
vmkfstools -C を使用して手動で VMFS ボリュームを作成する (1009829)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware ESX Server

Related Versions:

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX Server 2.5.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant