Skip to content

Commit

Permalink
displays total cpu's consumed by the kvm guests
Browse files Browse the repository at this point in the history
  • Loading branch information
albertsj1 committed Aug 9, 2012
1 parent c54ccaa commit 1145c5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kvm_extensions.rb
Expand Up @@ -34,6 +34,7 @@
guest_usedmemory_total += v.strip.to_i
end
end
virtualization[:kvm][:guest_cpu_total] = guest_cpu_total
virtualization[:kvm][:guest_maxmemory_total] = guest_maxmemory_total.to_s + " kB"
virtualization[:kvm][:guest_usedmemory_total] = guest_usedmemory_total.to_s + " kB"
end
Expand Down

0 comments on commit 1145c5d

Please sign in to comment.