On 3/30/2012 3:52 PM, Reindl Harald wrote:
>
> Am 30.03.2012 13:48, schrieb Stanislav:
>> On 3/30/2012 3:41 PM, Reindl Harald wrote:
>>> Am 30.03.2012 13:11, schrieb Stanislav:
>>>> Hello,
>>>>
>>>> I have a question about "vmware-toolbox-cmd". When I run it in the Guest 
>>>> OS(linux) I see:
>>>> root@ubuntu-console:~# /usr/local/bin/vmware-toolbox-cmd stat memlimit     
>>>>      4294967295 MB
>>>> What does it mean? When I change memory allocated for VM I don't see that 
>>>> this value changed. This is for ESXi 4.1.
>>> this is not the allocated memory of the VM (RAM)
>>> this is the LIMIT which can be lower to partly
>>> force memory get ballooned or even compressed
>>>
>>> look for "ressource limits" in the viclient
>>> these can be changed at runtime also in viclient
>>> assigned memory itself usually not (depends on license and guest-OS)
>>>
>> Thanks!
>>
>> And how can I get amount of allocated memory in runtime? When I use "cat
>> /proc/meminfo" in the Guest OS it shows lower values that I set in the
>> viclient for VM
> BTW: you are aware that this is a devel-list?
>
>
> free -m
>
> the guest has 8500 MB RAm allocated
> the rest is kernel assigned memory
>
>               total       used       free     shared    buffers     cached
> Mem:          8289       7913        376          0        605       3389
> -/+ buffers/cache:       3918       4371
> Swap:          511          0        511
>
> ________________________________________
>
> there is nothing different on physical machines
> below my workstation with 16 GB RAM
>
>               total       used       free     shared    buffers     cached
> Mem:         15939      15718        220          0        234      13241
> -/+ buffers/cache:       2242      13696
> Swap:         2047          2       2045
>
>
>
Sorry for that. I thought that there are some methods in the code how 
can I determine actual amount of memory, like in the viclient. Any way, 
thank you for your effort.

-- 
Stas


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to