ui: {guest, node} summary: use correct unit for CPU usage

One could also think about showing something like '% of N CPUs', but
this can be inaccurate for older data, because the number of CPUs can
change.

Reported in the community forum:
https://forum.proxmox.com/threads/117362/

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fiona Ebner 2022-11-04 08:42:55 +01:00 committed by Thomas Lamprecht
parent 55fb2eadb1
commit cf6b65a292
2 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,7 @@ Ext.define('PVE.node.Summary', {
title: gettext('CPU usage'),
fields: ['cpu', 'iowait'],
fieldTitles: [gettext('CPU usage'), gettext('IO delay')],
unit: 'percent',
store: rrdstore,
},
{

View File

@ -75,6 +75,7 @@ Ext.define('PVE.guest.Summary', {
pveSelNode: me.pveSelNode,
fields: ['cpu'],
fieldTitles: [gettext('CPU usage')],
unit: 'percent',
store: rrdstore,
},
{