mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Fix: subtract inactive_file from glances container memory usage (#4844)
This commit is contained in:
parent
666d075ec4
commit
58391ff33f
@ -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…
x
Reference in New Issue
Block a user