On Di, 24.07.18 20:12, George Xie ([email protected]) wrote:

> on box A, systemctl show outputs an incorrect value for unit memory usage:
> 
>     [box A] $ systemctl show crond | grep MemoryCurrent
>     MemoryCurrent=18446744073709551615
> 
> 18446744073709551615 == UINT64_MAX, this must be incorrect.

This is returned if memory accounting is not enabled for the unit.

Set MemoryAccounting=yes in the unit to enable it.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to