Fix: subtract inactive_file from glances container memory usage (#4844)
This commit is contained in:
parent
666d075ec4
commit
58391ff33f
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ export default function Component({ service }) {
|
|||
<div className="opacity-25 w-14 text-right">{item.cpu_percent.toFixed(1)}%</div>
|
||||
<div className="opacity-25 w-14 text-right">
|
||||
{t("common.bytes", {
|
||||
value: item.memory.usage,
|
||||
value: item.memory.usage - item.memory.inactive_file,
|
||||
maximumFractionDigits: 0,
|
||||
})}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue