{"id":1022,"date":"2010-12-01T08:57:18","date_gmt":"2010-12-01T07:57:18","guid":{"rendered":"http:\/\/vmdamentals.com\/?p=1022"},"modified":"2011-12-29T14:18:46","modified_gmt":"2011-12-29T13:18:46","slug":"vscsistats-3d-surface-graph-part-3-build-your-own","status":"publish","type":"post","link":"https:\/\/www.vmdamentals.com\/?p=1022","title":{"rendered":"vscsiStats 3D surface graph part 3: Build your own!"},"content":{"rendered":"<p><BR><\/p>\n<blockquote><p>Some people have asked me how to actually create the 3D graphs from the vcsiStats tool. I use a simple Excel sheet for this. Using the script I described in <a href=\"http:\/\/vmdamentals.com\/?p=722\" target=\"_blanc\">vscsiStats into the third dimension: Surface charts!<\/a> , you can import the files outputted into excel and see the Excel chart instantaneously.<\/p><\/blockquote>\n<p><BR><BR><br \/>\nThe vscsiStats tool is a very powerfull vSphere utility. It allows you to see virtual disk performance (such as latency, IOPS block sizes etc). The script I used in <a href=\"http:\/\/vmdamentals.com\/?p=722\" target=\"_blanc\">part 1<\/a> and in <a href=\"http:\/\/vmdamentals.com\/?p=823\" target=\"_blanc\">part 2<\/a> of this series will shoot multiple samples of these values right after each other, which you can then import into Excel to produce surface charts, like this one:<\/p>\n<p><center><img decoding=\"async\" src=\"http:\/\/vmdamentals.com\/wp-content\/uploads\/2011\/12\/IOmeter-readdist.png\" alt=\"3D surface chart example from the vscsiStats tool\" \/><\/center><\/p>\n<p>How to create graphs like this is described in detail below.<!--more--><br \/>\n<BR><BR><br \/>\n<strong>Steps to perform<\/strong><\/p>\n<p>We&#8217;ll be going straight to the steps to perform to build yourself these graphs:<\/p>\n<ol>\n<li>Create a script file on the ESX node of your choice (using the info in <a href=\"http:\/\/vmdamentals.com\/?p=722\" target=\"_blanc\">part 1<\/a>). I found it very useful to put all this stuff on a combined NAS\/CIFS share, so you can work on it in both vSphere and your workstation;<\/li>\n<li>use the script to create a file &#8220;out1.csv&#8221; (or whatever you put in the script as a filename);<\/li>\n<li>Download the zip file containing the Excel sheet <a href=\"http:\/\/vmdamentals.com\/wp-content\/uploads\/2011\/12\/VMdamentals.com-vscsciStats3D.zip\">here<\/a>;<\/li>\n<li>Doubleclick the Excel file to start it in Microsoft Excel (yes, you need to have Excel installed);<\/li>\n<li>Import the file created by the script;<\/li>\n<li>View the 3D surface charts!<\/li>\n<\/ol>\n<p>All steps should speak for itself. Step 5 might require a more detailed description:<\/p>\n<p>After opening, you should find yourself on the first tab. This is where the source <em>csv<\/em> file lives. You can insert your own just by right clicking anywhere in the sheet, and select &#8220;Edit text import&#8221;:<\/p>\n<p><center><img decoding=\"async\" src=\"http:\/\/vmdamentals.com\/wp-content\/uploads\/2011\/12\/import.png\" alt=\"Import the new *.csv file into the Excel sheet\" \/><\/center><\/p>\n<p>Next, you select the csv file you created in step 2. A new window opens where you can modify the csv import settings. Leave them as they are, and just click &#8220;finish&#8221;:<\/p>\n<p><center><img decoding=\"async\" src=\"http:\/\/vmdamentals.com\/wp-content\/uploads\/2011\/12\/finish.png\" alt=\"CSV import properties. Just click \"finish\" to accept the defaults.\" \/><\/center><\/p>\n<p>Finally, Excel will prompt you with a potential security risk (if you did not enable the content beforehand). Just accept this by clicking OK:<\/p>\n<p><center><img decoding=\"async\" src=\"http:\/\/vmdamentals.com\/wp-content\/uploads\/2011\/12\/warning.png\" alt=\"Click ok to accept the fact you are importing data from an external source.\" \/><\/center><\/p>\n<p>The last tab of the Excel sheet contains &#8220;variables&#8221;. Well, actually just one variable called &#8220;sample time&#8221;. This variable simply makes sure the timelines display the correct time. You should fill in the sample time you used in the script, and the timeline should adjust accordingly. <\/p>\n<p>After the import completes and you adjusted the sample time, just check out the other tabs to see all your 3D graphs, without any further troubles! If a graph sometimes does not display nicely, you might need to adjust the 3D graph viewing angles. It&#8217;s all possible:<\/p>\n<p><center><img decoding=\"async\" src=\"http:\/\/vmdamentals.com\/wp-content\/uploads\/2011\/12\/result.png\" alt=\"The final result: 3D charts easily created.\" \/><\/center><\/p>\n<p>Pretty cool stuff \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some people have asked me how to actually create the 3D graphs from the vcsiStats tool. I use a simple Excel sheet for this. Using the script I described in vscsiStats into the third dimension: Surface charts! , you can import the files outputted into excel and see the Excel chart instantaneously. The vscsiStats tool [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77,5],"tags":[183,186,184,72,185,182,181,109,632,119,99,180],"class_list":["post-1022","post","type-post","status-publish","format-standard","hentry","category-storage","category-vmware","tag-3d-chart","tag-block-size","tag-disk-latency","tag-iops","tag-iops-size","tag-surface-chart","tag-surface-graph","tag-virtual-disk","tag-vmware","tag-vscsistats","tag-vsphere","tag-vsphere-4"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.vmdamentals.com\/index.php?rest_route=\/wp\/v2\/posts\/1022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vmdamentals.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vmdamentals.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vmdamentals.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vmdamentals.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1022"}],"version-history":[{"count":51,"href":"https:\/\/www.vmdamentals.com\/index.php?rest_route=\/wp\/v2\/posts\/1022\/revisions"}],"predecessor-version":[{"id":3650,"href":"https:\/\/www.vmdamentals.com\/index.php?rest_route=\/wp\/v2\/posts\/1022\/revisions\/3650"}],"wp:attachment":[{"href":"https:\/\/www.vmdamentals.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vmdamentals.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vmdamentals.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}