Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgroups: fix memory usage on cgroup v1
calculate the memory usage on cgroup v1 using the same logic as cgroup v2. Since there is no single "anon" field, calculate the memory usage by summing the two fields "total_active_anon" and "total_inactive_anon". Closes: #1642 [NO NEW TESTS NEEDED] Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
- Loading branch information