Book Image

VMware Virtual SAN Cookbook

Book Image

VMware Virtual SAN Cookbook

Overview of this book

Table of Contents (18 chapters)
VMware Virtual SAN Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The vsan.vm_perf_stats command


While you can examine VM performance information via the vSphere Web Client, you can also get a quick at-a-glance view of VM performance using this command.

Getting ready

You should be logged in to RVC as a vCenter Administrator.

How to do it…

  1. As we are asking for information about a VM, the command will be executed against the VM level in RVC.

  2. Type vsan.vm_perf_stats /<vCenter>/<Datacenter>/computers/<Cluster>/resourcePool/vms/<VM> and strike the Enter key:

  3. Here, we see the outcome of a recent sample of VM performance data. Not all possible counters are shown here, only a high-level view of I/O per second, Throughput and Latency.

How it works…

This command queries information about the VM and finds the objects associated with it, and then collects performance counters. The operation then suspends for 20 seconds and the performance information is fetched again. This raw data is then averaged and displayed to you.

This command is not particularly...