Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Re: Capacity and Performance Trending reports

$
0
0

While LucD is troubleshooting datastores anyone have some oneliners for the following?

 

 

       # Need vCPU count provisioned to VMs
        $row."CPU Total Capacity" = $rp.Runtime.Cpu.MaxUsage
        $row."CPU Reserved Capacity" = $rp.Runtime.Cpu.ReservationUsed
        $row."CPU Available Capacity" = $rp.Runtime.Cpu.MaxUsage - $rp.Runtime.Cpu.ReservationUsed
        #Need vRAM in GB provisioned to VMs
        $row."Memory Total Capacity" = $rp.Runtime.Memory.MaxUsage  #Need to sum in GB
        $row."Memory Reserved Capacity" = $rp.Runtime.Memory.ReservationUsed  #Need to sum in GB
        $row."Memory Available Capacity" = $rp.Runtime.Memory.MaxUsage - $rp.Runtime.Memory.ReservationUsed  #Need to sum in GB

Thanks,

JB


Viewing all articles
Browse latest Browse all 252940

Trending Articles



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