search for: dommemstat

Displaying 19 results from an estimated 19 matches for "dommemstat".

2016 Mar 08
1
How to measure memory utilizatin of guest when dommemstat reports "RSS" is more than "ACTUAL"?
How to measure memory utilizatin of guest when dommemstat reports "RSS" is more than "ACTUAL"? Following is the output on RHEL 6.6 # dommemstat 1 actual 16777216 rss 16890372 # dommemstat 2 actual 16777216 rss 16460516 I found following article on Redhat which suggests that this is normal/expected? https://access.redhat.com/...
2016 Mar 18
3
Incorrect memory usage returned from virsh
When I run `virsh dominfo <domain>` I get the following: Id: 455 Name: instance-000047e0 UUID: 50722aa0-d5c6-4a68-b4ef-9b27beba48aa OS Type: hvm State: running CPU(s): 4 CPU time: 123160.4s Max memory: 33554432 KiB Used memory: 33554432 KiB Persistent: yes Autostart: disable Managed save: no Security model:
2014 Jul 08
2
Re: memoryStats question
...6.0 (Nov 2010): > https://bugzilla.redhat.com/show_bug.cgi?id=601690 In that case, I'd guess that Gleb just forgot to call virDomainSetMemoryStatsPeriod, perhaps? Gleb, you didn't mention what language (binding) you're using. In virsh, use the "--period N" option for the dommemstat command at least once in order to enable stats collection. -- Claudio
2012 Oct 03
1
no callback on VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE in 0.10.2
...in C and Python, I'm not seeing VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE ever tick, although I do see other events like VIR_DOMAIN_EVENT_ID_LIFECYCLE, VIR_DOMAIN_EVENT_ID_REBOOT, and VIR_DOMAIN_EVENT_ID_RTC_CHANGE. The balloon is definitely changing, and is reflected by both virsh -c qemu:///system dommemstat <dom> and free inside the guest. Here's the balloon in my config for reference: <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function=...
2016 Sep 01
2
Monitor guest vm memory usage
Hi All Is there a tool to monitor qemu-kvm guest vm memory usage ( free in guest vm)?Nowadays, I have already researched some methods:1. qemu-kvm process memory usage.? ? ?Since qemu-kvm process memory usage always increases as time goes on, it will not reflect the memory usage in vm.2.?virsh dommemstat? ? ?Just as method 1.3.?virsh qemu-monitor-command --hmp [domain name] "info mem"? ? ?(1) when guest vm memory size less than 4Gbytes, it will output something like this:? ? ? ? ? ? 7f882000-7f883000 00001000 urw????????????7fbf8000-7fbf9000 00001000 urw????????????88000000-88001000 00001...
2014 Mar 10
3
How to get guest's cpu and mem usage with Java APIs
Hi everybody, I'm using libvirt java api bindings for my thesis. I would like to know if there is a way to obtain live information about cpu and mem usage of a domain. Regards, Enrico De Maio Skype: enrico.de.maio Mobile: +39 338 205 3397
2013 Mar 25
0
Bug in DOMINFO command when balloon driver is used on a vm with more then 8 GB of MaxMemory ?
...n on a VM to which 8GB of MaxMemory or more are allocated then the information reported with virsh dominfo , virsh dumpxml after the balloon change has been performed are wrong. The actual balloon is inflated correctly though and that is verifiable both in the vm itself and through the "virsh dommemstat" commands. Platform is Centos 6.4 (problem was present in 6.3 as well starting with libvirt-0.9.10-21.el6.3.7 ) The patch that actually is causing the problem is patch number 398 in the src rpm for libvirt-0.9.10-21.el6.3.7 : libvirt-Wire-up-handling-for-QMP-s-BALLOON_EVENT.patch ( https:/...
2020 Mar 23
0
how can i get enough mem stat detai from win7 vm with virtio-win driver install and blnsrv started ?
hi,every one I have some trouble with the virsh to get vm mem-usage in guest os. [root@localhost ~]# virsh list --all Id Name State 1 wwl_centos7_1708 running 2 windows-virtio-template running I create two vms one guest os is centos, the other is window 7 virsh dommemstat wwl_centos7_1708 actual 4194304 swap_in 0 swap_out 0 major_fault 194 minor_fault 219454 unused 3729588 available 3881812 last_update 1581406529 rss 2969400 so i can get the vm mem-used detail, but if my guest os is windows, though I install virtio-win driver and run blnsrv.exe -i start the service,...
2019 Aug 05
2
Vm in state "in shutdown"
...timeout is 30s. It seems that the remoteDispatchDomainMemoryStats job is too slow to let the stop job wait timeout. Then I tried to reproduce this process. The step is as follows: First step: add a sleep on ‘qemuProcessEventHandler' by using pthread_cond_timedwait. So can execute 'virsh dommemstat active’ command at this time interval. Second step: start a vm to test Third step: execute 'virsh shutdown active’ to shutdown the vm Fourth step: execute 'virsh dommemstat active’ when stop job is sleep. Then it works. The test vm state became to 'in shutdown’, and the libvirt log is...
2016 Mar 18
0
Re: Incorrect memory usage returned from virsh
...; The domain is not at 100% memory capacity. How can I diagnose this further? You're asking the wrong interface. dominfo only tells you how much of the memory balloon is in use (here, none), and does not ask how much memory the guest claims to be using. 'virsh memtune' and 'virsh dommemstat' ask different questions, and may be able to give you more insight into the guest's current memory usage (but it might also be something you can't learn without guest cooperation). -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
2016 Sep 01
0
Re: Monitor guest vm memory usage
...nitor qemu-kvm guest vm memory usage ( free in > guest vm)? > Nowadays, I have already researched some methods: > 1. qemu-kvm process memory usage. > Since qemu-kvm process memory usage always increases as time goes > on, it will not reflect the memory usage in vm. > 2. virsh dommemstat > Just as method 1. > 3. virsh qemu-monitor-command --hmp [domain name] "info mem" > (1) when guest vm memory size less than 4Gbytes, it will output > something like this: > 7f882000-7f883000 00001000 urw > 7fbf8000-7fbf9000 00001000 urw...
2017 Jun 01
0
VM memory monitor
Hello?I want to know what the "virsh dommemstat " really stand for?the rss in result really indicatre the physical memory that the VM has used? thanks! zhunxun at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170601/9a0f7ec2/att...
2020 May 20
0
About Libvirt Setmem&dommemstat Function
I have sent a similar email about this problem. But I did not describe carefully, so I would like to explain it in more details. I am using 'virsh setmem' to ajust vm memory online. However, I don't know what is the lowerlimit that can be set to. And I try to use 'virsh dommemstat' to get 'unused' memory so that I can calculate the lowerlimit memory with this value, but it doesn't work when it comes to windows systems as I cannot set vm memory down to 'available - unused' in windows system. I suppose it's caches memory that causes this problem, so...
2014 Mar 10
0
Fwd: How to get guest's cpu and mem usage with Java APIs
...ive (how much > resources has the host given to the guest) or from the guest's > perspective (how much is the guest actively using, even if the host has > given it more)? Libvirt already provides several API calls. such as the > ones used by 'virsh cpu-stats' and 'virsh dommemstat'; you may have to > do some code reading to figure out what C calls the virsh code made in > order to find the same API under the Java bindings. > > -- > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org > >
2014 Jul 08
0
Re: memoryStats question
> In that case, I'd guess that Gleb just forgot to call > virDomainSetMemoryStatsPeriod, perhaps? I've just performed the same test with CentOS 7 at the host and CentOS 7 at the guest. Everything works. # virsh dommemstat vm1 actual 1048576 swap_in 0 swap_out 0 major_fault 751 minor_fault 3958627 unused 375900 available 1017988 rss 978248 I don't know the reason it doesn't work with ELRepo 3.10.45 kernel but I'd really like to. According to https://bugzilla.redhat.com/show_bug.cgi?id=601690 memoryStat...
2014 Dec 10
0
virDomainSetMemoryStatsPeriod autostart
Hello, A collecting period should be set to get domain memory stats (virDomainSetMemoryStatsPeriod function or virsh dommemstat --period from command line). Is there a way to set this period automatically using XML config or any other way?
2012 Apr 12
2
No way to obtain guest's cpu and mem usage?
Hi everybody, I'm using the PHP API to make a web interface interact with the virtual machines installed on some hypervisor. Everything is fine, but I would like to find a way to get the guest's cpu and mem usage, so that it should be possible to make some rrd graphs. I didn't find out anything and also it seems looking around that there is no way to obtain those data. What is strange
2014 Jul 04
2
Re: memoryStats question
At Thu, 03 Jul 2014 17:46:14 +0300, Gleb Voronich wrote: > > > > virDomainMemoryStats() gets those stats, if qemu is new enough to > > provide them, and if the guest cooperates to provide them. > Well I use the latest QEMU 2.0.0 > I have the latest CentOS 6.5 installed on the guest and unfortunately > I can't get more stats that I have. > > > Which OS are
2010 Oct 01
3
Monitoring and statistics through libvirt
Hi folks, is it possible to monitor and gather statistics in realtime (CPU, memory, HDD, network, ... - something like dstat) of guest systems with libvirt through console from host system (KVM based)? If yes, do those guests need to be created through libvirt? Thanks for your help and time.