ui: server status: use power of two base for memory and swap
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
62e5cf1e8c
commit
16e605583f
@ -216,6 +216,8 @@ Ext.define('PBS.ServerStatus', {
|
||||
title: gettext('Memory usage'),
|
||||
fields: ['memtotal', 'memused'],
|
||||
fieldTitles: [gettext('Total'), gettext('RAM usage')],
|
||||
unit: 'bytes',
|
||||
powerOfTwo: true,
|
||||
store: rrdstore,
|
||||
},
|
||||
{
|
||||
@ -223,6 +225,8 @@ Ext.define('PBS.ServerStatus', {
|
||||
title: gettext('Swap usage'),
|
||||
fields: ['swaptotal', 'swapused'],
|
||||
fieldTitles: [gettext('Total'), gettext('Swap usage')],
|
||||
unit: 'bytes',
|
||||
powerOfTwo: true,
|
||||
store: rrdstore,
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user