mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-18 02:42:54 +09:00
Feature #1285: Hide disk usage in onehost show, humanize monitoring time
(cherry picked from commit d12c86614a)
This commit is contained in:
1 parent
916777f49c
commit
7a1d6434ac
1 file changed
+1
-4
@@ -128,7 +128,7 @@ class OneHostHelper < OpenNebulaHelper::OneHelper
|
||||
puts str % ["IM_MAD", host['IM_MAD']]
|
||||
puts str % ["VM_MAD", host['VM_MAD']]
|
||||
puts str % ["VN_MAD", host['VN_MAD']]
|
||||
puts str % ["LAST MONITORING TIME", host['LAST_MON_TIME']]
|
||||
puts str % ["LAST MONITORING TIME", OpenNebulaHelper.time_to_str(host['LAST_MON_TIME'])]
|
||||
puts
|
||||
|
||||
CLIHelper.print_header(str_h1 % "HOST SHARES", false)
|
||||
@@ -139,9 +139,6 @@ class OneHostHelper < OpenNebulaHelper::OneHelper
|
||||
puts str % ["TOTAL CPU", host['HOST_SHARE/MAX_CPU']]
|
||||
puts str % ["USED CPU (REAL)", host['HOST_SHARE/USED_CPU']]
|
||||
puts str % ["USED CPU (ALLOCATED)", host['HOST_SHARE/CPU_USAGE']]
|
||||
puts str % ["TOTAL DISK", host['HOST_SHARE/MAX_DISK']]
|
||||
puts str % ["USED DISK (REAL)", host['HOST_SHARE/USED_DISK']]
|
||||
puts str % ["USED DISK (ALLOCATED)", host['HOST_SHARE/DISK_USAGE']]
|
||||
puts str % ["RUNNING VMS", host['HOST_SHARE/RUNNING_VMS']]
|
||||
puts
|
||||
|
||||
|
||||
Reference in new issue
Block a user