mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Fix for ticket #54
git-svn-id: http://svn.opennebula.org/one/trunk@407 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
parent
b497734406
commit
16d827024d
@ -47,7 +47,7 @@ xm_text.each_line {|line|
|
||||
case columns[0]
|
||||
when 'total_memory'
|
||||
memory_info[:total]=columns[1].to_i*1024
|
||||
when 'free_memory'
|
||||
when 'max_free_memory'
|
||||
memory_info[:free]=columns[1].to_i*1024
|
||||
when 'nr_cpus'
|
||||
cpu_info[:total]=columns[1].to_f*100
|
||||
|
Loading…
x
Reference in New Issue
Block a user