1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

Bug in xen im probe (#54)

git-svn-id: http://svn.opennebula.org/one/trunk@449 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Javier Fontán Muiños 2009-04-02 16:20:04 +00:00
parent f0f59cbc97
commit 0dfe0a58c8

View File

@ -52,7 +52,7 @@ xm_text.each_line {|line|
memory_info[:total]=columns[1].to_i*1024
when 'max_free_memory'
max_free_memory=columns[1].to_i*1024
when 'max_free_memory'
when 'free_memory'
free_memory=columns[1].to_i*1024
when 'nr_cpus'
cpu_info[:total]=columns[1].to_f*100