vmware CLI script , how to list current CPU, RAM and storage available

I was looking for a script to be run at a command line on Vcenter to see what the current useage of the CPU ,MEM and datastore available space , does any one know how to do this ?


thanks in advance!!!!!!
LVL 1
NAMEWITHELD12Asked:
Who is Participating?
 
GG VPCommented:
You can use RVTools! to get the information you are looking for.

OR

You can use the Powercli modules listed in below VMware blog,

PowerCLI Module to Check CPU, Memory and Storage OverCommitment

OR

If you are familiar with powershell, many scripts are found online and you can customize it.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You don't even have to run a script, select the Virtual Machine Tab in vCenter Server, click the whitespace, and select Export LIst, if you select your columns, you can add Memory Size, and Active Memory and CPU.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.