Solved

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

Posted on 2015-02-03
2
266 Views
Last Modified: 2015-02-10
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!!!!!!
0
Comment
Question by:NAMEWITHELD12
2 Comments
 
LVL 5

Accepted Solution

by:
GG VP earned 250 total points
ID: 40587976
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
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 250 total points
ID: 40588101
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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Spinning up a new Hyper V virtual machine 4 98
CPU issues on VMHOST and child VMs 10 58
Planned failover 6 13
NTPD Client Port Usage 12 19
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question