Quantcast
Channel: VMware Communities: Message List - need a script to collect the performance report.
Browsing all 46 articles
Browse latest View live

Re: need a script to collect the performance report.

The problem is that the statistical data is aggregated.That means that for the period you are asking, you only have 1 value perday (historical interval 4).If we go for historical interval 3, we will...

View Article


Re: need a script to collect the performance report.

LucD,  This Script worked for me.Can you add the Disk IO  report too in this script. thanksvmguy

View Article


Re: need a script to collect the performance report.

Awesome Guru, works fantasticMillions Thanks

View Article

need a script to collect the performance report.

i need  a script to collect virtual machine performance from a vCenter.1) Average CPU usage for one month2) Average active memory usage for one month

View Article

Re: need a script to collect the performance report.

Over which time interval do you want those averages ?1 value for each metric for the complete month ?Or an average for each 2-hour interval ?

View Article


Re: need a script to collect the performance report.

I'll just give the 2 options.This produces an average over the previous month for CPU and memory for each VM...

View Article

Re: need a script to collect the performance report.

Thanks for the script at an Interval of every 2 hours. Does this script captures the virtual machines average active memory in %? I need a script that captures  average CPU usage in % & Average...

View Article

Re: need a script to collect the performance report.

Both metrics return results in %For the 2 hour interval you need to use the 2nd script. Btw the 2 hours interval is the default for that Historical Interval.See my PowerCLI & vSphere statistics –...

View Article


Re: need a script to collect the performance report.

Thank you once again The question which i have does it give output for average active memory for the virtual machines?  $vms = Get-VM $metric = "cpu.usage.average","mem.active.average" $now = Get-Date...

View Article


Re: need a script to collect the performance report.

LucD,   i am getting the error for 2nd script Get-Stat : 1/27/2012 10:06:07 AM    Get-Stat        Object reference not set to an instance of an object.At E:\script\performance.ps1:12 char:18+ $stats =...

View Article

Re: need a script to collect the performance report.

Try changing this line $stats=Get-Stat-Entity$vms-Stat$metric-Start$start-Finish$finish to this $stats=Get-Stat-Entity$vms-Stat$metric-Start$start-Finish$finish-ErrorActionSilentlyContinue There might...

View Article

Image may be NSFW.
Clik here to view.

Re: need a script to collect the performance report.

LucD,   After changing the line its generate blank report   thanksvmguy

View Article

Re: need a script to collect the performance report.

That could mean there is no performance data for the selected VMs for the selected period.Strange, do you see perfomance data in the vSphere client when you select "Last month" ?

View Article


Re: need a script to collect the performance report.

LucD,  did you mean this. PFA.thanksvmguy

View Article

Re: need a script to collect the performance report.

No, I ment the Performance tab for a specific VM.Then select Advanced and click <Chart settings>.In there select Past Month (for Cpu or Memory) and then make sure the line that contains usage and...

View Article


Re: need a script to collect the performance report.

Thanks LucD,     i will check and update you. vmguy

View Article

Re: need a script to collect the performance report.

Hey lucD  $vms = Get-VM$metric = "cpu.usage.average","mem.active.average"$now = Get-Date -Hour 0 -Minute 0 -Second 0$finish = $now.AddDays(- $now.Day)$start = $finish.AddMonths(-1).AddDays(1)$finish =...

View Article


Re: need a script to collect the performance report.

So just a monthly cpu and memory average, 1 value ech, per VM ?Then try this...

View Article

Re: need a script to collect the performance report.

Lu, your all script are awesome man, I ran this one as wel, very informative picture, but few thing if you please make tweak in your script what if - ran against specific VM and collected the Data on...

View Article

Re: need a script to collect the performance report.

Have a look at my PowerCLI & vSphere statistics – Part 2 – Come together post.In there I show how to filter the statistics to only report on business hours. Let me know if that gets you where you...

View Article
Browsing all 46 articles
Browse latest View live


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