mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 14:18:47 +00:00
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
Add a link
Reference in a new issue