VMware {code} Community
halcabes
Enthusiast
Enthusiast

perf.pl -- Performance utilization report script

Attached is a useful VI Perl Toolkit script written by a VMware employee:

perf.pl

Print the utilization report for a specified time period for a specified host/VM or a set of hosts/VMs managed by a VirtualCenter server. Can be connected either to a VirtualCenter Server or directly to an ESX Server.

Examples:

List the utilization report for the for all the VMs managed by VirtualCenter Server running from 8/24 to 8/25

./perf.pl server vcserverusername user --password 'password' --entity VirtualMachine --freq daily --date 2007-08-25

List the utilization report for the given hostname in the VirtualCenter Server running from 8/24 to 8/25

./perf.pl --server vcserver --username user --password 'password' --entity HostSystem --freq daily --name hostname --date 2007-08-25

--Harvey Harvey Alcabes Product Manager VMware, Inc.
Reply
0 Kudos
2 Replies
heyitspablo
VMware Employee
VMware Employee

Thanks just what I was looking for, will give it a try...

Keep up with latest info on vSphere PowerCLI http://blogs.vmware.com/vipowershell - Follow me on Twitter @heyitspablo
Reply
0 Kudos
Jitu111
Contributor
Contributor

Hi..Thanks you very much for providing such a good scrpit...actually i am very new in VMperl scriping could anyone please let me knwo how to use this script...where i have to mention virtual centre or ESX hostname...

regards,Jitu

Reply
0 Kudos