Solved

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

Posted on 2010-11-30
8
405 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
 
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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now