Solved

How can I tell from within a VM what memory and CPU is allocated to it?

Posted on 2010-11-30
8
416 Views
Last Modified: 2012-06-21
if I look at the resources in task manager from within the VM am I getting an accurate look at the resources allocated to the VM or are these the resources of the host?

is there some way for me to tell from the VM without having access to the VM ware console? (as I am just an admin installing software on it and need to verify it meets specs)


thanks,
bobby
0
Comment
Question by:ob1_
8 Comments
 
LVL 40

Accepted Solution

by:
coolsport00 earned 125 total points
ID: 34239361
Right-click on My Computer (assuming a Windows guest OS) and select Properties to see the CPUs and RAM. Open up My Computer to check disk space.

Regards,
~coolsport00
0
 
LVL 6

Author Comment

by:ob1_
ID: 34239430
is that definitely CPU and RAM of VM and not host?
0
 
LVL 6

Author Comment

by:ob1_
ID: 34239436
is there a way to cap RAM in the background in VM manager so that available RAM you see from host is not what is actually available? that is the problem I think we are running into.
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 40

Expert Comment

by:coolsport00
ID: 34239456
Correct...of the VM, not the host.

I don't understand your 2nd comment about the problem you're running into...
0
 
LVL 2

Assisted Solution

by:frevere
frevere earned 125 total points
ID: 34239482
The resources you see in Task Manager is an accurate view of resouces the host is allocating to the guest OS.  For example, if you see 1.5GB RAM and 2 pCPU, then the VM in the console has been configured for 1.5GB RAM and 2 vCPU's.  This doesn't necessilarly mean that the VM is actually using these resources.  To see the exact amount of resources the VM is actually using at any one point in time, you will have to view the Resource Allocation tab in the VMware client.
0
 
LVL 9

Assisted Solution

by:Bill_Fleury
Bill_Fleury earned 125 total points
ID: 34239514
Any resources that are visible from within the VM are the resources that have been assigned to the VM.  You cannot view host properties from within the VM- this is done through vCenter.

I believe what you're getting at with your second comment is to see if the VM is requesting more RAM than is physically available on the host.  This is not available from within the virtual machine, you would have to check with your VMWare admininistrator about host statistics regarding this.
0
 
LVL 2

Assisted Solution

by:JanEnEm
JanEnEm earned 125 total points
ID: 34243766
Do not forget that what your VM's software sees is equivalent to what a physical host would see.
So, I guess, if your assessing the software functionality on that VM, you must not change your working method from what you use to do on a physical machine.

If, as an example, a software product would use an excessive amount of memory, the VM will start to get a huge amount of page faults ans start using its page file, as it would do in a physical situation.

JanM
0
 
LVL 6

Author Closing Comment

by:ob1_
ID: 34395459
all good info - thank you!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question