The dpmvc-getresources command retrieves CPU or memory share limits or reservations.
This command has the following format:
dpmvc-getresources -vm_name vmname {-datacenter_name datacentername | -vc vcenterservername} [-resource {all|vm_cpulimit|vm_cpureserv|vm_memlimit|vm_memresrv}]
Specifies the VM.
Specifies the data center where the VM is located.
Specifies the vCenter Server where the VM is located.
Specifies whether a specific resource is retrieved or all resources. Options include the following:
Retrieves all CPU and memory share limits and reservations for the VM.
Retrieves the limit for the number of shares of CPU for the VM.
Retrieves the number of shares of CPU reserved for the VM.
Retrieves the limit for the number of shares of memory for the VM.
Retrieves the number of shares of memory reserved for the VM.
Example: Get all Resources for a VM in a Single vCenter Server Environment
This example retrieves all resources for usa-vm2.
dpmvc-getresources -resource all -datacenter_name MyCity -vm_name usa-vm2
Copyright © 2013 CA. All rights reserved. |
|