mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-21 08:11:39 +03:00
Fix container rss value reported as memory value
This commit is contained in:
parent
ed95142104
commit
7002fe7e39
@ -19,7 +19,7 @@ export default function GlancesPluginDockerController($scope, GlancesStats) {
|
|||||||
'status': containerData.Status,
|
'status': containerData.Status,
|
||||||
'cpu': containerData.cpu.total,
|
'cpu': containerData.cpu.total,
|
||||||
'memory': containerData.memory.usage != undefined ? containerData.memory.usage : '?',
|
'memory': containerData.memory.usage != undefined ? containerData.memory.usage : '?',
|
||||||
'rss': containerData.memory.rss != undefined ? containerData.memory.usage: '?',
|
'rss': containerData.memory.rss != undefined ? containerData.memory.rss : '?',
|
||||||
'ior': containerData.io.ior != undefined ? containerData.io.ior : '?',
|
'ior': containerData.io.ior != undefined ? containerData.io.ior : '?',
|
||||||
'iow': containerData.io.iow != undefined ? containerData.io.iow : '?',
|
'iow': containerData.io.iow != undefined ? containerData.io.iow : '?',
|
||||||
'io_time_since_update': containerData.io.time_since_update,
|
'io_time_since_update': containerData.io.time_since_update,
|
||||||
|
Loading…
Reference in New Issue
Block a user