ContainerMemoryStats

constructor(usage: Int? = null, maxUsage: Int? = null, stats: Map<String, Int>? = null, failcnt: Int? = null, limit: Int? = null, commitbytes: Int? = null, commitpeakbytes: Int? = null, privateworkingset: Int? = null)

Parameters

usage

Current res_counter usage for memory. This field is Linux-specific and omitted for Windows containers.

maxUsage

Maximum usage ever recorded. This field is Linux-specific and only supported on cgroups v1. It is omitted when using cgroups v2 and for Windows containers.

stats

All the stats exported via memory.stat. when using cgroups v2. This field is Linux-specific and omitted for Windows containers.

failcnt

Number of times memory usage hits limits. This field is Linux-specific and only supported on cgroups v1. It is omitted when using cgroups v2 and for Windows containers.

limit

This field is Linux-specific and omitted for Windows containers.

commitbytes

Committed bytes. This field is Windows-specific and omitted for Linux containers.

commitpeakbytes

Peak committed bytes. This field is Windows-specific and omitted for Linux containers.

privateworkingset

Private working set. This field is Windows-specific and omitted for Linux containers.