www/DataStoreStatus.js: display loadavg stats

This commit is contained in:
Dietmar Maurer 2020-05-25 11:49:30 +02:00
parent 2c66a590c0
commit d8dc281992
2 changed files with 9 additions and 0 deletions

View File

@ -35,6 +35,7 @@ fn get_node_stats(
"swaptotal", "swapused",
"netin", "netout",
"roottotal", "rootused",
"loadavg",
],
timeframe,
cf,

View File

@ -33,6 +33,7 @@ Ext.define('pve-rrd-node', {
'swapused',
'roottotal',
'rootused',
'loadavg',
{ type: 'date', dateFormat: 'timestamp', name: 'time' }
]
});
@ -75,6 +76,13 @@ Ext.define('PBS.DataStoreStatus', {
fieldTitles: [gettext('CPU usage'), gettext('IO delay')],
store: rrdstore
},
{
xtype: 'proxmoxRRDChart',
title: gettext('Server load'),
fields: ['loadavg'],
fieldTitles: [gettext('Load average')],
store: rrdstore
},
{
xtype: 'proxmoxRRDChart',
title: gettext('Memory usage'),