[systemd-devel] [RFE] distinguish reclaimable memory in `systemctl status` output

Michal Koutný mkoutny at suse.com
Tue Sep 29 16:05:00 UTC 2020


On Mon, Sep 28, 2020 at 02:29:07PM -0700, Vito Caputo <vcaputo at pengaru.com> wrote:
> Is it possible to either add a reclaimable field the total memory line
> of `systemctl status` output?
> 
> Or perhaps a separate line like Memory-Reclaimable: ?
What would be the use of such an output?

> Is additional kernel memcg support required to make this possible?
I think you can get a reasonable picture by checking memory.stat of
the given memory cgroup, however, I'm not sure it can be losslessly
translated into a single value like that.

Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200929/ec4e3b7f/attachment.sig>


More information about the systemd-devel mailing list