1 Reply Latest reply on Dec 10, 2010 3:49 AM by peter79

    Collecting performance data in poswershell

    peter79 Enthusiast

      Guys,

       

      I'm fairly new to powershell so forgive any stupid questions I may ask.

       

      I'm looking to gather the following information

       

                                                    VM Level          ESX Level            Cluster Level

      CPU usuage average                             %                           %                             %

      CPU usuage peak                              %                           %                             %

      CPU usuage low                              %                           %                             %

      CPU usuage peak time                             date & time     date & time                             date & time

      CPU usuage low time                             date & time     date & time                             date & time

      CPU Ready time                             Milliseconds     n/a                              n/a

      Memory usuage average           %                        %                              %

      Memory usuage peak                             %                        %                              %

      Memory usuage low                             %                        %                              %

      Storage Capacity                              %                        %                               n/a

      IOPs                                                #/sec                        #/sec                              n/a

      Latency                                               Milliseconds     Milliseconds           n/a

      Network throughput                             Mbit/sec     Mbit/sec                              n/a

       

      I appreciate there is a lot of info there and I dont expect to get it all.  I just want to know if its possible?  If its possible would anyone have the scripts for getting the top 5 VM's for average CPU and memory usage over a week or 2 weeks time period?

       

      Thanks in advance guys.