login vsi company logo login vsi company logo 250x40

 

Get the best possible VDI performance, density and availability with Login VSI
Our Solutions

  • Home
  • Blog
  • Get ESXtop data automatically from VMa or ESX host

Warning

JUser: :_load: Unable to load user with ID: 19633

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

Tags: How-to, Login VSI, VMware

Popular Blogs

Login VSI Blog - Ongoing Effects CPU Flaws

The Ongoing Effects of Intel CPU Flaws

The Ongoing Effects of Intel CPU Flaws Over the last year, we’ve seen many Intel CPU hardware flaws come to light and when news first broke about Meltdown & Spectre there was a lot of panic: "should we patch?", "What’s the performance impact?", "Can we still rely on this hardware?" Continue Reading
Login VSI Blog - How-To Update, Protect Against RIDL, Fallout MDS Vulnerability

How-To: Update, Protect Against RIDL, Fallout MDS Vulnerability

RIDL & Fallout MDS vulnerabilities, impact on VDI performance & actions to take. FAQs we’re receiving & updates on performance tests executed to patch flaws Intel calls “Microarchitectural Data Sampling (M.D.S.)” aka: Rogue In-Flight Data Load (RIDL), Fallout, ZombieLoad & Store-to-Leak Forwarding. Continue Reading
Login VSI Blog - Updating to Windows 10 1903? Make Sure to Test!

Updating to Windows 10 1903? Make Sure to Test!

Updating to Windows 10 1903? Make Sure to Test! It’s that time of the year again. Microsoft have released their spring update and the first IT-Pro’s are getting ready to move their VDI environment over. Continue Reading
Login AT Express offers Application Compatibility Testing for up to 50 applications for FREE

[Press Release] Login VSI introduces free license for award winning solution, Login AT

Login AT Express offers Application Compatibility Testing for up to 50 applications for FREE Atlanta, USA, May 22, 2019: Login VSI, the industry standard for VDI and SBC performance testing, announced today the availability of a new, free version of Login AT for Bulk Application Compatibility Testing. Continue Reading
Login VSI - Blog - Login VSI Help Center Blog Teaser Image - Improvements & Update Notifications

Login VSI Help Center – Improvements & Update Notifications

Login VSI announced the release of the Knowledge Center in June of 2017. Since then the utilization of the platform has evolved dramatically. In this blogpost we introduce a few of these improvements and updates. Continue Reading
Login VSI Blog - LVTE 2109 - Technology Advocates & Experts

Login VSI Technology Advocates and Experts 2019

About a year ago Login VSI, the industry standard in VDI performance testing, announced a new program Recognizing those individuals that have built and displayed extensive knowledge of the Login VSI software solutions, and visibly contribute to the End-User Computing (EUC) Community. Continue Reading
Cookie Settings