?
Solved

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

Posted on 2015-02-03
2
Medium Priority
?
274 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 1000 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 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1000 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
Suggested Courses

765 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