Re: [PR] [cgroups2] Introduces an interface to read a subset of the memory usage statistics. [mesos]

2024-04-19 Thread via GitHub
bmahler closed pull request #564: [cgroups2] Introduces an interface to read a subset of the memory usage statistics. URL: https://github.com/apache/mesos/pull/564 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

Re: [PR] [cgroups2] Introduces an interface to read a subset of the memory usage statistics. [mesos]

2024-04-19 Thread via GitHub
bmahler commented on code in PR #564: URL: https://github.com/apache/mesos/pull/564#discussion_r1573045523 ## src/linux/cgroups2.hpp: ## @@ -243,6 +243,41 @@ Try max(const std::string& cgroup); // See: https://docs.kernel.org/admin-guide/cgroup-v2.html namespace memory {

[PR] [cgroups2] Introduces an interface to read a subset of the memory usage statistics. [mesos]

2024-04-19 Thread via GitHub
DevinLeamy opened a new pull request, #564: URL: https://github.com/apache/mesos/pull/564 Cgroups v2 exposes memory statistics through the 'memory.stat' control. Here we introduce `cgroups2::memory::stats` to read a subset of the memory usage statistics into a new `memory::Stats`