Solved

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

Posted on 2015-02-03
2
267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 120

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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSpā€¦

740 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