Apache Mesos
Namespaces | Functions
cgroups::memory Namespace Reference

Namespaces

 oom
 
 pressure
 

Functions

Result< std::string > cgroup (pid_t pid)
 
Try< Byteslimit_in_bytes (const std::string &hierarchy, const std::string &cgroup)
 
Try< Nothinglimit_in_bytes (const std::string &hierarchy, const std::string &cgroup, const Bytes &limit)
 
Result< Bytesmemsw_limit_in_bytes (const std::string &hierarchy, const std::string &cgroup)
 
Try< bool > memsw_limit_in_bytes (const std::string &hierarchy, const std::string &cgroup, const Bytes &limit)
 
Try< Bytessoft_limit_in_bytes (const std::string &hierarchy, const std::string &cgroup)
 
Try< Nothingsoft_limit_in_bytes (const std::string &hierarchy, const std::string &cgroup, const Bytes &limit)
 
Try< Bytesusage_in_bytes (const std::string &hierarchy, const std::string &cgroup)
 
Try< Bytesmemsw_usage_in_bytes (const std::string &hierarchy, const std::string &cgroup)
 
Try< Bytesmax_usage_in_bytes (const std::string &hierarchy, const std::string &cgroup)
 

Function Documentation

Result<std::string> cgroups::memory::cgroup ( pid_t  pid)
Try<Bytes> cgroups::memory::limit_in_bytes ( const std::string &  hierarchy,
const std::string &  cgroup 
)
Try<Nothing> cgroups::memory::limit_in_bytes ( const std::string &  hierarchy,
const std::string &  cgroup,
const Bytes limit 
)
Try<Bytes> cgroups::memory::max_usage_in_bytes ( const std::string &  hierarchy,
const std::string &  cgroup 
)
Result<Bytes> cgroups::memory::memsw_limit_in_bytes ( const std::string &  hierarchy,
const std::string &  cgroup 
)
Try<bool> cgroups::memory::memsw_limit_in_bytes ( const std::string &  hierarchy,
const std::string &  cgroup,
const Bytes limit 
)
Try<Bytes> cgroups::memory::memsw_usage_in_bytes ( const std::string &  hierarchy,
const std::string &  cgroup 
)
Try<Bytes> cgroups::memory::soft_limit_in_bytes ( const std::string &  hierarchy,
const std::string &  cgroup 
)
Try<Nothing> cgroups::memory::soft_limit_in_bytes ( const std::string &  hierarchy,
const std::string &  cgroup,
const Bytes limit 
)
Try<Bytes> cgroups::memory::usage_in_bytes ( const std::string &  hierarchy,
const std::string &  cgroup 
)