Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-01-22 | procfs-util: expose functionality to query total memory | Zbigniew Jędrzejewski-Szmek | 1 | -1/+4 | |
procfs_memory_get_current is renamed to procfs_memory_get_used, because "current" can mean anything, including total memory, used memory, and free memory, as long as the value is up to date. No functional change. | |||||
2018-02-09 | procfs-util: add APIs to get consumed CPU time and used memory from /proc | Lennart Poettering | 1 | -0/+6 | |
This is preparation for emulating the "usage_usec" keyed attribute of the "cpu.stat" property of the root cgroup from data in /proc. Similar, for emulating the "memory.current" attribute. | |||||
2018-01-22 | util-lib: add new procfs-util.[ch] API for dealing with tasks limits | Lennart Poettering | 1 | -0/+8 | |
As it turns out the limit on concurrent tasks on Linux nasty to determine, hence let's appropriate helpers for this. |