<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>VMtoday &#187; analysis</title>
	<atom:link href="http://vmtoday.com/tag/analysis/feed/" rel="self" type="application/rss+xml" />
	<link>http://vmtoday.com</link>
	<description>VMware News, Views, &#38; How-To&#039;s from Josh Townsend</description>
	<lastBuildDate>Thu, 02 Sep 2010 05:11:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>The Skinny on ESXTOP</title>
		<link>http://vmtoday.com/2009/09/the-skinny-on-esxtop/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=the-skinny-on-esxtop</link>
		<comments>http://vmtoday.com/2009/09/the-skinny-on-esxtop/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 22:39:01 +0000</pubDate>
		<dc:creator>Joshua Townsend</dc:creator>
				<category><![CDATA[Issues & Troubleshooting]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMware How To]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[analyze]]></category>
		<category><![CDATA[batch mode]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[esxtop]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[performances]]></category>
		<category><![CDATA[rCLI]]></category>
		<category><![CDATA[resxtop]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[vCLI]]></category>
		<category><![CDATA[vMA]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://vmtoday.com/?p=244</guid>
		<description><![CDATA[A reader named Mark contacted me today and asked if there was a way to reduce the size of the batch output from an ESXTOP run.  And he asks for good reason: Depending on the number of VM&#8217;s on your host, the delay between ESXTOP samplings and the number of samples you collect, using the [...]


Related posts:<ol><li><a href='http://vmtoday.com/2009/09/esxtop-batch-mode-windows-perfmon/' rel='bookmark' title='Permanent Link: ESXTOP Batch Mode &amp; Windows Perfmon'>ESXTOP Batch Mode &amp; Windows Perfmon</a> <small>I needed to grab some stats from my ESX hosts...</small></li>
<li><a href='http://vmtoday.com/2010/08/high-cpu-ready-poor-performance/' rel='bookmark' title='Permanent Link: High CPU Ready, Poor Performance'>High CPU Ready, Poor Performance</a> <small>I ran into an issue with a customer today where...</small></li>
<li><a href='http://vmtoday.com/2009/09/balloon-driver-problems-with-sql/' rel='bookmark' title='Permanent Link: Balloon Driver Problems with SQL'>Balloon Driver Problems with SQL</a> <small>I have been meaning to write this up for a...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A reader named Mark contacted me today and asked if there was a way to reduce the size of the batch output from an ESXTOP run.  And he asks for good reason: Depending on the number of VM&#8217;s on your host, the delay between ESXTOP samplings and the number of samples you collect, using the All Stats option (-a) can yield a massive file in a short period of time.  If written to a partition on your ESX Service Console you run the risk of filling the partition, and forget about actually being able to analyze the data in PERFMON or Excel.  For example, on an ESX host running ~15 VM&#8217;s I produced 100MB worth of CSV using the -a switch, sampling every 15 seconds, for just under 2 hours.  ESXTOP uses 10-second intervals by default; I used <span style="color: #993300;">-d 15</span> to change the sampling delay.  Had I went with the default my output would have been bigger.</p>
<p>To reduce the size of your output, you can change your sampling delay to something larger, say 30-seconds.  I suppose you could also capture statistics when the host is not busy so you get fewer characters in the results, but that&#8217;s just being goofy.  <img src='http://vmtoday.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>A better way to reduce your ESXTOP output size is to selectively include only the statistics you are interested in, and is really what Mark was asking.  After all, all statistics from ESXTOP can be too many statistics, and chances are you already know what stats you are interested in.  Here&#8217;s how you can narrow down the collected stats for easier analysis and smaller output:</p>
<ol>
<li>Enter ESXTOP in interactive mode on the Service Console by simply typing <span style="color: #993300;">esxtop</span> at the # prompt</li>
<li>Switch to a component you are NOT interested in capturing statistics on by pressing the corresponding menu option (<span style="color: #993300;">c</span>: ESX cpu, <span style="color: #993300;">m</span>: ESX memory, <span style="color: #993300;">d</span>: ESX disk adapter, <span style="color: #993300;">u</span>: ESX disk device, <span style="color: #993300;">v</span>: ESX disk VM).</li>
<li>Press <span style="color: #993300;">f</span> when viewing the component you do not want to capture.  A list of fields will be displayed.  You can toggle the fields on and off by pressing the letter corresponding to each field.  An * indicates that the field is on.  You want to turn off all of the fields you don&#8217;t want to collect.</li>
<li>Repeat steps 2 &amp; 3 for the remaining components, leaving only what you want to capture.</li>
<li>Switch to the component you want to capture in batch mode and repeat step #3, except you will now enable what you want to capture.</li>
<li>Press <span style="color: #993300;">W</span> (capital W &#8211; case sensitive) to write out the ESXTOP configuration file.  You can accept the default or create new configuration files.  You may want to create a CPU-only config file, memory-only, and so forth.</li>
<li>Press <span style="color: #993300;">CTRL+C</span> to stop ESXTOP.</li>
<li>Now, invoke ESXTOP in batch mode, calling your updated or new configuration file you created in step #6 using the -c switch.  Here&#8217;s an example:# <span style="color: #993300;">esxtop -b -d 30 -n 480 -c .esxtopcpustats &gt; /tmp/esxtop_cpu_stats.cs</span><span style="color: #993300;">v</span> where .esxtopcpustats is an ESXTOP config file with only CPU stats.  -d sets your capture interval to 30 seconds, and -n sets the number of samples to 480 (or 4 hours with a delay of 30 seconds).</li>
</ol>
<p>Once your capture is complete you can replay the sampling in ESXTOP using replay mode (-R), or you can copy the .csv to a Windows system and use PERFMON or Excel to analyze the stats.  If using PERFMON or Excel you will notice that the system summary information displayed at the top of an interactive ESXTOP session is included in the output (console memory, console cpu, etc.).  As far as I know, there is no way to disable this, nor would you want to as it includes the time stamp necessary to interpret your data.</p>
<p>It is possible to use the <a title="vSphere CLI" href="http://communities.vmware.com/community/vmtn/vsphere/automationtools/vsphere_cli" target="_blank">vSphere CLI</a> or the <a title="vSphere Management Assistant vMA" href="http://www.vmware.com/support/developer/vima/" target="_blank">vSphere Management Assistant (vMA)</a> to run RESXTOP, a version of ESXTOP designed for remote administration of ESXi or ESX.  You may note, however, RESXTOP from the vSphere CLI only works from a Linux client.  Using either of these tools will help you to automate ESXTOP statistics collection from multiple hosts using customized configuration files.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=The+Skinny+on+ESXTOP+-+http://bit.ly/dDzxFF&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://vmtoday.com/2009/09/the-skinny-on-esxtop/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://vmtoday.com/2009/09/the-skinny-on-esxtop/&amp;title=The+Skinny+on+ESXTOP" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://vmtoday.com/2009/09/the-skinny-on-esxtop/&amp;title=The+Skinny+on+ESXTOP" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://vmtoday.com/2009/09/the-skinny-on-esxtop/&amp;title=The+Skinny+on+ESXTOP" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://vmtoday.com/2009/09/the-skinny-on-esxtop/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22The%20Skinny%20on%20ESXTOP%22&amp;body=Link: http://vmtoday.com/2009/09/the-skinny-on-esxtop/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A A%20reader%20named%20Mark%20contacted%20me%20today%20and%20asked%20if%20there%20was%20a%20way%20to%20reduce%20the%20size%20of%20the%20batch%20output%20from%20an%20ESXTOP%20run.%20%C2%A0And%20he%20asks%20for%20good%20reason%3A%20Depending%20on%20the%20number%20of%20VM%27s%20on%20your%20host%2C%20the%20delay%20between%20ESXTOP%20samplings%20and%20the%20number%20of%20samples%20you%20collect%2C%20using%20the%20All%20Stats%20op" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://vmtoday.com/2009/09/the-skinny-on-esxtop/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://vmtoday.com/2009/09/the-skinny-on-esxtop/&amp;title=The+Skinny+on+ESXTOP" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://vmtoday.com/2009/09/the-skinny-on-esxtop/&amp;title=The+Skinny+on+ESXTOP&amp;srcUrl=http://vmtoday.com/2009/09/the-skinny-on-esxtop/&amp;srcTitle=The+Skinny+on+ESXTOP&amp;snippet=A%20reader%20named%20Mark%20contacted%20me%20today%20and%20asked%20if%20there%20was%20a%20way%20to%20reduce%20the%20size%20of%20the%20batch%20output%20from%20an%20ESXTOP%20run.%20%C2%A0And%20he%20asks%20for%20good%20reason%3A%20Depending%20on%20the%20number%20of%20VM%27s%20on%20your%20host%2C%20the%20delay%20between%20ESXTOP%20samplings%20and%20the%20number%20of%20samples%20you%20collect%2C%20using%20the%20All%20Stats%20op" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://vmtoday.com/2009/09/esxtop-batch-mode-windows-perfmon/' rel='bookmark' title='Permanent Link: ESXTOP Batch Mode &amp; Windows Perfmon'>ESXTOP Batch Mode &amp; Windows Perfmon</a> <small>I needed to grab some stats from my ESX hosts...</small></li>
<li><a href='http://vmtoday.com/2010/08/high-cpu-ready-poor-performance/' rel='bookmark' title='Permanent Link: High CPU Ready, Poor Performance'>High CPU Ready, Poor Performance</a> <small>I ran into an issue with a customer today where...</small></li>
<li><a href='http://vmtoday.com/2009/09/balloon-driver-problems-with-sql/' rel='bookmark' title='Permanent Link: Balloon Driver Problems with SQL'>Balloon Driver Problems with SQL</a> <small>I have been meaning to write this up for a...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://vmtoday.com/2009/09/the-skinny-on-esxtop/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
