Documentation ¶
Index ¶
Constants ¶
View Source
const ( CGroupPath = "/proc/self/cgroup" CGroupFolderPrefix = "/sys/fs/cgroup/memory" MemLimitFileSuffix = "/memory.limit_in_bytes" MemUsageFileSuffix = "/memory.usage_in_bytes" )
Variables ¶
This section is empty.
Functions ¶
func GetCGroupAvailableMem ¶
func InitLoggers ¶
func InitLoggers(logToSyslog bool)
func MyUserAndGroup ¶
MyUserAndGroup returns the UID and GID of this process.
Types ¶
Click to show internal directories.
Click to hide internal directories.