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

Investigating if a hosted virtual machine is powered on (1003844)

Last Updated: 9/4/2017Categories: Total Views: 25593Language:
English

6 like this article

Subscribe to get an email
newsletter with new updates

6 people found this helpful Please provide article feedback:

Purpose

This article guides you through the process of determining if a virtual machine is powered on. In some cases this is information which cannot be determined just by looking at the VMware graphical interface. The steps outlined here help eliminate any uncertainty over the status of a virtual machine. The article also allows you to determine the process ID (PID) of a powered on virtual machine.

Resolution

The method of determining the power status of a virtual machine differs between Windows and Unix style hosts (ie. Linux and Mac OS X). Refer to the section that matches your host operating system. If you have more than one host that may be responsible for having a virtual machine powered on, verify the status of the virtual machine on each of the host systems.

Note: For the following procedures, results may not be accurate unless you are logged in as a user with either Administrator rights or root privileges.

Determining if a virtual machine is powered on by a Windows host

To determine if a virtual machine is powered on by a Windows host:

Run the Task Manager:

Click Start > Run.

Type taskmgr and click OK.

Note: If you are running a version of Windows where this command does not work, you must find a utility that is capable of displaying processes running on your system. Please see Additional Information section. Follow the instructions for the application's use and go to step 4.

Click the Processes tab.

The Image Name column is sorted alphabetically. If the column is not, click on the Image Name text at the top of the column.

Look for a process named vmware-vmx.exe . If you do not see the process then there are no virtual machines that have been powered on by this host.

Note: If you suspect that another host may have the virtual machine powered on, like when the virtual machine files are located on a network share that multiple hosts can access, then follow this document on each of those hosts.

If there is a process named vmware-vmx.exe in the process list then there is a virtual machine that is currently powered on. If there is only a single virtual machine on this host then that is the machine that is on. If there is more than one virtual machine on this host, you must still determine if the virtual machine whose power state is in question is actually powered on.

If you are using Task Manager and do not see a column named PID:

Click View > Select Columns.

Click the box labelled PID (Process Identifier).

Click OK.

Write down the PID of any vmware-vmx.exe entry.

In Windows Explorer, navigate to the directory where the virtual machine's files are located. If you are not sure of the location of the virtual machine's files, see Locating a hosted virtual machine's files (1003880).

Open the file vmware.log in a text editor, such as wordpad or notepad. On the first line of this file, look for the text pid=xxxx , where xxxx is actually a number. If this number does not match one of the numbers from step 7, then the virtual machine in question is not powered on by this host.

Note: If you suspect that another host may have the virtual machine powered on, like when the virtual machine files are located on a network share that multiple hosts can access, follow this document for each of those hosts.

Determining if a virtual machine is powered on by a Linux or Mac OS X host

To determine if a virtual machine is powered on by a Linux or Mac OS host:

Open a shell prompt. For further information, see Opening a command or shell prompt (1003892).

Issue the following command:

ps aux | grep vmware-vmx

If there is one or more process named vmware-vmx in the results, look for the directory path to all of the virtual machines that are powered on in the listing. If there is no process named vmware-vmx , or if none of the directory paths associated with vmware-vmx process entries match that of the virtual machine in question, then it is not powered on by this host.

Notes:

If you suspect that another host may have the virtual machine powered on, like when the virtual machine files are located on a network share that multiple hosts can access, follow this document on each of those hosts.

The PID of any powered on virtual machine as listed in step 2 can be determined by looking at the number from the 2nd column.

Related Information

An alternate utility for showing processes running on a Windows computer, supported by Microsoft, is called pslist . You can locate it by going to http://technet.microsoft.com/ , and entering pslist into the search box.

To use pslist , once downloaded, unzip it into a folder, then open a command prompt. For more information, see Opening a command or shell prompt (1003892).

At the command prompt, navigate to the directory where the utility was saved. When in that directory, look for any process named vmware-vmx.exe . For example, if pslist is located on drive C: and in the temp directory, the following commands would be issued:

C:\>cd \temp

C:\Temp>pslist vmware-vmx

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

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

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Workstation Player

VMware Workstation

VMware Server

VMware Player

VMware GSX Server

VMware Fusion

VMware ACE

Related Versions:

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