Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

Trying to speed up a performance stats report

$
0
0

hi all, i have had a script running for a while now (thanks to luc dekens for assisting with its creation ;-)).  I have recently been looking at how to speed the report up, as it does take some. time.  The performance stats are broken down by Datacentre in a HTML page. So the script connects to a single vcentre, and then the HTML page has a banner for each Datacentre in that vcentre, with VM performance stats listed underneath. I have tried to redesign the script so that it leverages grouping to increase performance, and this seems to work.  The problem i am having is that i cannot work out how to moodify the new script so that it outputs to HTML, by datacentre for the vm's as per my original script.  I have attached the original script, and my new one (that only outputs to csv, and does not segregate by datacentre).  I have been working on trying to modify for a while now with no luck, so perhaps someone in the community can look at my original script and how it outputs to HTML, and then advise mw on how i can modify the new script to that it does the same .... i hope thats clear ;-)  the files are attached. Any assistance you can provide would be greatly received !


Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>