Automation

 View Only
Expand all | Collapse all

How to get resource pool statistics via powershell

  • 1.  How to get resource pool statistics via powershell

    Posted Jul 20, 2020 12:24 AM

    Hi,

    I have few resource pool in a cluster and I would like to get below statistics for each resource pool in that cluster via script.

    Resource Pool Name - CPU Reservation (GHz) - CPU Limit (GHz) - Consumed CPU (GHz) - %CPU Consumed - Reservation Memory (GB) - Memory Limit (GB) - Consumed Memory (GB) - %Memory Consumed

    Output would look like

    RP1 - 100 - 125 - 112 - 88% - 1000 - 3000 - 1500 - 50%

    RP2 - 10 - 20 - 15 - 75% - 100 - 200 - 150 - 50%

    Thank you in advance for help



  • 2.  RE: How to get resource pool statistics via powershell

    Posted Jul 20, 2020 07:14 AM

    What do you already have and what is missing?