Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

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

Collecting performance snapshots using vm-support in ESX and ESXi (1967)

Last Updated: 7/6/2020Categories: How toTotal Views: 72820Language:
Chinese (Simplified)JapaneseEnglish

1 like this article

Subscribe to get an email
newsletter with new updates

1 people found this helpful Please provide article feedback:

Details

This article provides information on collecting performance snapshots in ESX and ESXi.

Solution

Performance snapshots are continuous snapshots of proc nodes, collected at defined intervals for a specified period. Technical support may ask you to send performance snapshots to help troubleshoot a performance issue in response to a service request that you opened.

HTTP-based download of vm-support output from an ESXi 5.x or greater host

Using any HTTP client:

https://ESXi_host_FQDN/cgi-bin/vm-support.cgi?performance=true&interval=5&duration=300

After the log bundle is collected and downloaded to a client, upload the logs to the SFTP/FTP site. For more information, see Uploading diagnostic information for VMware (1008525).

Command line based

To collect the performance snapshots, run this command:

ESX/ESXi 4.1 and earlier – vm-support -s

ESXi 5.x and later – vm-support -p

You may specify the collection duration and interval in seconds using these command-line options:

ESX/ESXi 4.1 and earlier – vm-support -s -d duration_in_seconds -i interval_in_seconds

ESXi 5.x and later – vm-support -p -d duration_in_seconds -i interval_in_seconds

To collect only performance snapshots from an ESXi 5.x host, run this command:

vm-support -p -a PerformanceSnapshot:vsi -d duration_in_seconds -i interval_in_seconds

If an interval is not specified, vm-support automatically sets the interval period to two times the amount of time taken to collect a single snapshot. For most cases, VMware recommends that you set the interval period to 10 seconds.

Note: To run the vm-support command, log in to your ESXi/ESX host with root privileges using the console or an SSH session.

The collected snapshots are bundled with regular data collected by vm-support and a tar archive is created in /var/tmp/esx-2010-01-26--20.46.3236587.tgz. To avoid space issues, the log files can be redirected to datastore by specifying the path.

To redirect to a specified location include this parameter in the vm-support command: -w /vmfs/volumes/storage

If you want to collect only performance snapshots without the regular data, substitute the -s with an uppercase -S.

It is important that you use the vm-support script to capture performance snapshots when your system is experiencing a performance problem. The script cannot collect useful data otherwise. If the snapshot collection interval overlaps with a time when the virtual machine is not experiencing a performance problem, the result may skew the data collected and can make analysis difficult.

The vm-support script shipped with ESX Server 2.1.x and earlier versions does not have the capability to collect performance snapshots. You can upgrade to a version of the script that does have this capability, however.

To download the vm-support script, see Collecting diagnostic information for VMware ESX/ESXi using the vSphere Client (653). This article also contains related information about collecting debug information for ESXi/ESX systems.

Note: You do not need to run vmmstats.pl in ESX Server 2.1.x if you download and use this version of vm-support.

For a checklist to help you report performance problems, see Performance Problem Report Check List.

For a technical note about isolating performance problems, see Isolating Performance Problems.

For more information, see Uploading diagnostic information to VMware (1008525).

Additional Information

For more information, see Collecting performance data for ESXi5.x hosts via the vSphere client (2009124).

In ESXi 5.x, run this command to collect only performance snapshots without logs:

vm-support -p -a PerformanceSnapshot:vsi

However, it is always desirable that the complete log bundle is collected with the performance snapshot

For translated versions of this article, see:

日本語: ESX および ESXi での vm-support を使用したパフォーマンス スナップショットの収集 (2080699)

简体中文: 在 ESX 和 ESXi 中使用 vm-support 收集性能快照 (2081796)

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
•
Download and Install VMware Fusion (2014097)

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 6.5

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

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 2.5.x

VMware ESX Server 2.1.x

VMware ESX Server 2.0.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