login vsi company logo login vsi company logo 250x40
header-01.jpg
  • Home
  • Blog
  • Get ESXtop data automatically from VMa or ESX host

Get ESXtop data automatically from VMa or ESX host

Get ESXtop data automatically from VMa or ESX host

When benchmarking with Login VSI you often want to collect more performance data from your ESX host with ESXtop. I use a script that will start the Login VSI tests automatically and also start capturing ESXtop data. Normally after a test I need to connect to the VMa and download all the ESXtop data of the Login VSI tests and copy the ESXtop files to the correct test directory on the VSIshare. A lot of manual actions so I have automated this. In this blogpost I’m going to share how you can get the ESXtop data from your VMa or ESX host automatically.

I use the tool called WinSCP to connect to the VMa where I can download the ESXtop data. More information about the WinSCP commands can be found here.

The powershell script is based on the same name for the ESXtop file and the Login VSI test.

Of course we need some information to get this working. At first we need the test name of the Login VSI test and the VSIshare where the results of the test are stored. For WinSCP we need a saved connection and the location of the WinSCP executable. Please note the password is saved in WinSCP. More information about the connection command line can be found here.

$Testname = "LoginVSI_Win7_2vCPU_Medium_Base_Test"
$VSIshare = "\\VSIserver\VSI-4"
$WinConnection = "vi-admin@vma1.VSI.lab"
$WINSCP = $VSIshare + "\_VSI_Tools\winscp425.exe"
 
$Temp = $env:temp + "\"
$CSVFile = $Testname + ".csv"
 
$Command = "/console /command ""option batch abort"" ""open $WinConnection"" ""get $CSVFile $Temp"" ""exit"" "
Start-Process -FilePath $WINSCP -ArgumentList $Command -wait
 
$File = $Temp + $CSVFile
Copy-Item -Path $File -Destination "$VSIShare\_VSI_Logfiles\$Item\"
Remove-Item -Path $File -Recurse

By automating this you will save time and the data is stored at one location.

This blog was originally published on Logit Blog.

About the author

Ryan Bijkerk (@Logitblog) is a Product Owner at Login VSI and a Microsoft MVP on Application Virtualization (App-V) technology. He is also involved in the independent research Project VRC and speaks at events. Besides working, Ryan enjoys writing for his blog and riding his MTB.


Tags: How-to, Login VSI, VMware

What our customers are saying

Kelly Murphy - Gridstore

"Ultimately, VDI is about performance. If a customer's virtual experience is not as fast as the physical experience, they don’t use it. Login VSI is great in helping us to really quantify and to show performance, to test systems and design those systems in such a way to ensure that you can deliver that kind of performance."

Kelly Murphy, CTO and Founder at HyperGrid


Randy Groves - Teradici

"As the developer of the PCoIP protocol, we do a lot of our own internal benchmarking to make sure that we’re continuing to improve our protocol. But we can’t actually publish our internal benchmarks because everybody might think that the tests are biased. So when we want to publish results, we use Login VSI. That way, if a customer wants to repeat our results they can.”

Randy Groves, CTO at Teradici


Bill Galloway - Pivot3

“The labs at Pivot3 have hundreds of machines. A portion of those are running different Login VSI configurations so we can be constantly configuring with different hardware to see how that affects desktops. Then we tweak the RAM and CPU, and tune so we know how many users we can support.”

Bill Galloway, Founder and CTO at Pivot3

Login VSI, Inc.

300 Tradecenter

Suite 3460
Woburn, MA 01801

Phone: +1 844 828 3693

Login VSI B.V.

De Entree 85
1101 BH Amsterdam
The Netherlands

Phone: +31 20 705 1200