mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #1285: Make Xen display net consumption in bytes (not in Ks)
(cherry picked from commit eba11017851e11281a1ade1aa26f53e46e32ce65)
This commit is contained in:
parent
edae49a15e
commit
f3c934ea94
@ -224,8 +224,8 @@ module XEN
|
||||
dom_hash[:state]=get_state(dom_data[1])
|
||||
dom_hash[:usedcpu]=dom_data[3]
|
||||
dom_hash[:usedmemory]=dom_data[4]
|
||||
dom_hash[:nettx]=dom_data[10]
|
||||
dom_hash[:netrx]=dom_data[11]
|
||||
dom_hash[:nettx]=dom_data[10].to_i * 1024
|
||||
dom_hash[:netrx]=dom_data[11].to_i * 1024
|
||||
|
||||
domains[dom_hash[:name]]=dom_hash
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user