<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Monitor qemu-kvm processes]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm facing a problem where I need to monitor the availability of a number of qemu-kvm processes (virtual machines) in Linux.</p>
<p dir="auto">Normally you can gather statistics by for example defining: Process.CPUTime(qemu-kvm) but what if I have a number of qemu-kvm processes that I'd like to monitor individually? The only way to tell the processes a part is by --name XXXX attribute, which states the virtual machines name and/or id.</p>
<p dir="auto">I guess the ideal scenario would be to setup the monitoring and DCI collection on a cluster-object and associate all the qemu-kvm hosts underneath it, then the monitoring and the stats would keep collecting even if a virtual machine is migrate to a different host. But my problem is that I can't filter running processes by attributes, or at least, I haven't found out how...</p>
<p dir="auto">Hopefully someone can give me a hint in which way to go, thanks!</p>
<p dir="auto">Anders</p>
]]></description><link>https://forum.netxms.org/topic/2101/monitor-qemu-kvm-processes</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:23:59 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2101.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 Jan 2013 13:25:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Monitor qemu-kvm processes on Tue, 26 Mar 2013 07:14:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi mrugani,</p>
<p dir="auto">This sounds more of an Qemu related question than NetXMS related, but I'll give it a try.</p>
<p dir="auto">Are you using some sort of management wrapper such as: <a href="http://libvirt.org/" rel="nofollow ugc">libvirt</a> (virsh) or similar to manage your virtual machines? or are you using the native Qemu-monitor to migrate your virtual machines?</p>
]]></description><link>https://forum.netxms.org/post/9996</link><guid isPermaLink="true">https://forum.netxms.org/post/9996</guid><dc:creator><![CDATA[Anders]]></dc:creator><pubDate>Tue, 26 Mar 2013 07:14:06 GMT</pubDate></item><item><title><![CDATA[Reply to Monitor qemu-kvm processes on Wed, 20 Mar 2013 10:29:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi, I am also working on qemu.<br />
I want to get all active qemu processes running on host.<br />
I tried using 'top | grep qemu' , i got all qemu processes.<br />
But when I migrate a VM from hostA to hostB , I can still find its entry on hostA.<br />
Did you come across this? Please help.</p>
]]></description><link>https://forum.netxms.org/post/9959</link><guid isPermaLink="true">https://forum.netxms.org/post/9959</guid><dc:creator><![CDATA[mrugani]]></dc:creator><pubDate>Wed, 20 Mar 2013 10:29:58 GMT</pubDate></item><item><title><![CDATA[Reply to Monitor qemu-kvm processes on Sun, 06 Jan 2013 21:29:32 GMT]]></title><description><![CDATA[<p dir="auto">For counting processes there are separate parameter Process.CountEx, which has two arguments - process name and command line, both are regular expressions.</p>
<p dir="auto">Wiki is supposed to be most up-to-date information source, but unfortunately it still missing lot of information, including detailed description of agent parameters. We are updating wiki, but it's a slow process.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/9250</link><guid isPermaLink="true">https://forum.netxms.org/post/9250</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 06 Jan 2013 21:29:32 GMT</pubDate></item><item><title><![CDATA[Reply to Monitor qemu-kvm processes on Fri, 04 Jan 2013 17:01:41 GMT]]></title><description><![CDATA[<p dir="auto">Great news, thank you Victor! Does the Process.Count() work in a similar way?</p>
<p dir="auto">Btw, what is the most up to date source for reference information for all supported attributes for a command such as: Process.Count() or Process.CPUTime() ? I haven't been able to find any related information in the wiki.</p>
]]></description><link>https://forum.netxms.org/post/9248</link><guid isPermaLink="true">https://forum.netxms.org/post/9248</guid><dc:creator><![CDATA[Anders]]></dc:creator><pubDate>Fri, 04 Jan 2013 17:01:41 GMT</pubDate></item><item><title><![CDATA[Reply to Monitor qemu-kvm processes on Fri, 04 Jan 2013 14:58:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">You can specify command line filter in all Process.* parameters. Full syntax of Process.CPUTime (and others Process.*) is following:</p>
<p dir="auto">Process.CPUTime(<em>process</em>, <em>type</em>, <em>cmdline</em>)</p>
<p dir="auto">Where</p>
<p dir="auto"><em>process</em> - process name. If <em>cmdline</em> is not given, only processes with matched name will be counted and read. If <em>cmdline</em> is given, <em>process</em> interpreted as regular expression.<br />
<em>type</em>     - representation type (meaningful when more than one process with the same name exists). Valid values are:<br />
         min - minimal value among all processes named &lt;process&gt;<br />
         max - maximal value among all processes named &lt;process&gt;<br />
         avg - average value for all processes named &lt;process&gt;<br />
         sum - sum of values for all processes named &lt;process&gt;<br />
<em>cmdline</em>  - command line (regular expression to match).</p>
<p dir="auto">So to match all processes named qemu-kvm with word test in command line, you can use</p>
<p dir="auto">Process.CPUTime(^qemu-kvm$, sum, test)</p>
<p dir="auto">Don't forget that both process name and command line are regular expressions when extended format is used, so if you use "qemu-kvm" as process name (without ^ and $), processes contained this in the name (like qemu-kvm2) will also be matched.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/9247</link><guid isPermaLink="true">https://forum.netxms.org/post/9247</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 04 Jan 2013 14:58:39 GMT</pubDate></item></channel></rss>