diff --git a/src/cli/one_helper/onehost_helper.rb b/src/cli/one_helper/onehost_helper.rb index ac3a3ce74a..ef111e3df7 100644 --- a/src/cli/one_helper/onehost_helper.rb +++ b/src/cli/one_helper/onehost_helper.rb @@ -795,7 +795,9 @@ class OneHostHelper < OpenNebulaHelper::OneHelper d['NODE_ID'] end - column :CORES, 'Cores usage', :size => 50, :left => true do |d| + column :CORES, 'Cores usage', + :left => true, + :adjust => true do |d| d['CORE']['CORES'] end diff --git a/src/cli/one_helper/onevm_helper.rb b/src/cli/one_helper/onevm_helper.rb index 250f3d0669..69398b3a52 100644 --- a/src/cli/one_helper/onevm_helper.rb +++ b/src/cli/one_helper/onevm_helper.rb @@ -1201,7 +1201,7 @@ in the frontend machine. d['NODE_ID'] end - column :CPUS, 'Cpus used', :size => 6, :left => false do |d| + column :CPUS_IDS, 'Cpus used', :adjust => true, :left => false do |d| d['CPUS'] end @@ -1213,7 +1213,7 @@ in the frontend machine. d['TOTAL_CPUS'] end - default :ID, :CPUS, :MEMORY, :TOTAL_CPUS + default :ID, :CPUS_IDS, :MEMORY, :TOTAL_CPUS end table.show(numa_nodes)