<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Monitoring Hyper-V Performance</title><link>http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx</link><description>Now that Hyper-V has been in the market for over 9 months a common question that has come my way is “what should I monitor?” This question has been asked for a couple of reasons such as; How do I know if my machine is overloaded? How can I figure out</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Monitoring Hyper-V Performance</title><link>http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx#10367186</link><pubDate>Fri, 09 Nov 2012 11:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10367186</guid><dc:creator>Dan Visan</dc:creator><description>&lt;p&gt;Thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10367186" width="1" height="1"&gt;</description></item><item><title>re: Monitoring Hyper-V Performance</title><link>http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx#10220455</link><pubDate>Wed, 05 Oct 2011 13:47:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10220455</guid><dc:creator>Alain Rosa</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you know how I can monitor Cluster Shared Volumes!&lt;/p&gt;
&lt;p&gt;Thanks a lot. &amp;nbsp;You blog was really helpful&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10220455" width="1" height="1"&gt;</description></item><item><title>re: Monitoring Hyper-V Performance</title><link>http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx#10041339</link><pubDate>Thu, 22 Jul 2010 10:46:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10041339</guid><dc:creator>Kjartan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SCOM and i want to calculate the total bandwidth used for a specified period of time, eg a month, for a single VM. How would i go about doing this? Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10041339" width="1" height="1"&gt;</description></item><item><title>re: Monitoring Hyper-V Performance</title><link>http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx#10035432</link><pubDate>Wed, 07 Jul 2010 14:58:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10035432</guid><dc:creator>leobor</dc:creator><description>&lt;p&gt;On one of the Hyper-V machines some of the counter groups show up normally in Performance Monitor but some are missing (namely Hyper-V Virtual IDE Controller, Hyper-V Virtual Storage Device, Hyper-V Hypervisor Partition, Hyper-V VM Vid Partition, Hyper-V Hypervisor Virtual Processor). This morning none of the Hyper-V counters was available – I asked admin to reboot, so some counters came back but some were still missing.&lt;/p&gt;
&lt;p&gt;On the other hand, on another Hyper-V machine everything seems to be working properly. &lt;/p&gt;
&lt;p&gt;As per an advise from the colleague, I ran EXCTRLST.EXE to see if there are corrupt counters. However, it does not show Hyper-V counters at all.&lt;/p&gt;
&lt;p&gt;What could be a reason for such strange behavior? Is there a way to make Hyper-V counters always show up?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10035432" width="1" height="1"&gt;</description></item><item><title>re: Monitoring Hyper-V Performance</title><link>http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx#10035377</link><pubDate>Wed, 07 Jul 2010 12:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10035377</guid><dc:creator>leobor</dc:creator><description>&lt;p&gt;On one of the Hyper-V machines some of the counter groups show up normally in Performance Monitor but some are missing (namely Hyper-V Virtual IDE Controller, Hyper-V Virtual Storage Device, Hyper-V Hypervisor Partition, Hyper-V VM Vid Partition, Hyper-V Hypervisor Virtual Processor). This morning none of the Hyper-V counters was available – I asked admin to reboot, so some counters came back but some were still missing.&lt;/p&gt;
&lt;p&gt;On the other hand, on another Hyper-V machine everything seems to be working properly. &lt;/p&gt;
&lt;p&gt;As per an advise from the colleague, I ran EXCTRLST.EXE to see if there are corrupt counters. However, it does not show Hyper-V counters at all.&lt;/p&gt;
&lt;p&gt;What could be a reason for such strange behavior? Is there a way to make Hyper-V counters always show up?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10035377" width="1" height="1"&gt;</description></item><item><title>re: Monitoring Hyper-V Performance</title><link>http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx#10014398</link><pubDate>Tue, 25 May 2010 07:32:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10014398</guid><dc:creator>Kjartan Andreassen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is it possible to use these counters in any way to get the monthly traffic per vm? &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10014398" width="1" height="1"&gt;</description></item><item><title>re: Monitoring Hyper-V Performance</title><link>http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx#9962362</link><pubDate>Fri, 12 Feb 2010 01:07:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9962362</guid><dc:creator>Ozlem</dc:creator><description>&lt;P&gt;Where are the counter definitions kept. I couldn't find any ini file. There is no Performance key for the services under the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services. I found some related stuff under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Perflib\_V2Providers but no indication of where the definitions are. &lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;[Tony's Reply]&lt;/P&gt;
&lt;P&gt;The counter defs are in the vmms.exe and vmwp.exe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9962362" width="1" height="1"&gt;</description></item><item><title>re: Monitoring Hyper-V Performance</title><link>http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx#9951796</link><pubDate>Fri, 22 Jan 2010 03:05:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9951796</guid><dc:creator>scott</dc:creator><description>&lt;P&gt;Thanks again.&lt;/P&gt;
&lt;P&gt;Is there any way to get these same VM statistics using WMI?&lt;/P&gt;
&lt;P&gt;[Tony's Reply]&lt;/P&gt;
&lt;P&gt;See &lt;A href="http://blogs.msdn.com/tvoellm/archive/2008/07/14/how-to-get-processor-utilization-for-hyper-v-via-wmi.aspx"&gt;http://blogs.msdn.com/tvoellm/archive/2008/07/14/how-to-get-processor-utilization-for-hyper-v-via-wmi.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9951796" width="1" height="1"&gt;</description></item><item><title>re: Monitoring Hyper-V Performance</title><link>http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx#9951712</link><pubDate>Thu, 21 Jan 2010 23:47:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9951712</guid><dc:creator>Scott</dc:creator><description>&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;I forgot to mention that I want to do this remotely from a machine that will most likely not be in the same domain. I will have credentials for the target Hyper-V server.&lt;/P&gt;
&lt;P&gt;It looks like this (&lt;A href="http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecounter.machinename" rel=nofollow target=_new&gt;http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecounter.machinename&lt;/A&gt;(VS.71).aspx) allows you to specify a remote machine, but I don't see how to enter credentials. The requesting machine in my app will not be part of the same domain.&lt;/P&gt;
&lt;P&gt;[Tony's Reply]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;You have to add the credentials to the&amp;nbsp;"Windows Credential Manager" for the given server machine.&amp;nbsp; If running Win7 just type credentials into the start/search box and it will come up or just run cmdkey.exe in a cmd prompt.&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9951712" width="1" height="1"&gt;</description></item><item><title>re: Monitoring Hyper-V Performance</title><link>http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx#9951030</link><pubDate>Wed, 20 Jan 2010 19:37:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9951030</guid><dc:creator>Scott</dc:creator><description>&lt;P&gt;I am after vm memory usage, vm disk activity, and vm network usage. This post answers which counters can give me that data, but I am having difficulty determining exactly how to query them.&lt;/P&gt;
&lt;P&gt;I am in a C# environment. Can you direct me to or supply some code snippets that demonstrate how to request these counters?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Scott&lt;/P&gt;
&lt;P&gt;&amp;nbsp;[Tony's reply]&lt;/P&gt;
&lt;P&gt;You can find sample code for reading performance counters in C# @ &lt;A href="http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecounter(VS.71).aspx"&gt;http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecounter(VS.71).aspx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Enjoy - Tony&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9951030" width="1" height="1"&gt;</description></item></channel></rss>