Get number of vCPU's used in cluster: Difference between revisions
Jump to navigation
Jump to search
William Lam's getNumofvCPUInCluster.pl script |
m fixed formatting |
||
| Line 12: | Line 12: | ||
Misc.RunningVCpuLimit: 128 | Misc.RunningVCpuLimit: 128 | ||
# of vCPU on host: 12 | # of vCPU on host: 12 | ||
Host: primp-esx02 | |||
Misc.RunningVCpuLimit: 128 | |||
# of vCPU on host: 13 | |||
Host: primp-esx03 | |||
Misc.RunningVCpuLimit: 128 | |||
# of vCPU on host: 16 | |||
Host: primp-esx04 | |||
Misc.RunningVCpuLimit: 128 | |||
# of vCPU on host: 16 | |||
.......... | .......... | ||
# of vCPU: 463 | # of vCPU: 463 | ||
Latest revision as of 16:55, 19 August 2009
getNumofvCPUInCluster.pl
author: William Lam
Description
Allows you to retrieve the number of vCPU's used in the cluster you provide as a parameter.
Usage:
[vi-admin@scofield]$ ./getNumofvCPUInCluster.pl --server reflex.primp-industries.com --username primp --cluster primp-cluster
This could take a few minutes depending on the size of the cluster ...
Cluster: primp-cluster
Host: primp-esx01
Misc.RunningVCpuLimit: 128
# of vCPU on host: 12
Host: primp-esx02
Misc.RunningVCpuLimit: 128
# of vCPU on host: 13
Host: primp-esx03
Misc.RunningVCpuLimit: 128
# of vCPU on host: 16
Host: primp-esx04
Misc.RunningVCpuLimit: 128
# of vCPU on host: 16
..........
# of vCPU: 463