MCPcopy Create free account
hub / github.com/cloudfoundry/garden / ContainerMemoryStat

Struct ContainerMemoryStat

container.go:255–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255type ContainerMemoryStat struct {
256 ActiveAnon uint64 `json:"active_anon"`
257 ActiveFile uint64 `json:"active_file"`
258 Cache uint64 `json:"cache"`
259 HierarchicalMemoryLimit uint64 `json:"hierarchical_memory_limit"`
260 InactiveAnon uint64 `json:"inactive_anon"`
261 InactiveFile uint64 `json:"inactive_file"`
262 MappedFile uint64 `json:"mapped_file"`
263 Pgfault uint64 `json:"pgfault"`
264 Pgmajfault uint64 `json:"pgmajfault"`
265 Pgpgin uint64 `json:"pgpgin"`
266 Pgpgout uint64 `json:"pgpgout"`
267 Rss uint64 `json:"rss"`
268 TotalActiveAnon uint64 `json:"total_active_anon"`
269 TotalActiveFile uint64 `json:"total_active_file"`
270 TotalCache uint64 `json:"total_cache"`
271 TotalInactiveAnon uint64 `json:"total_inactive_anon"`
272 TotalInactiveFile uint64 `json:"total_inactive_file"`
273 TotalMappedFile uint64 `json:"total_mapped_file"`
274 TotalPgfault uint64 `json:"total_pgfault"`
275 TotalPgmajfault uint64 `json:"total_pgmajfault"`
276 TotalPgpgin uint64 `json:"total_pgpgin"`
277 TotalPgpgout uint64 `json:"total_pgpgout"`
278 TotalRss uint64 `json:"total_rss"`
279 TotalUnevictable uint64 `json:"total_unevictable"`
280 Unevictable uint64 `json:"unevictable"`
281 Swap uint64 `json:"swap"`
282 HierarchicalMemswLimit uint64 `json:"hierarchical_memsw_limit"`
283 TotalSwap uint64 `json:"total_swap"`
284 // A memory usage total which reports memory usage in the same way that limits are enforced.
285 // This value includes memory consumed by nested containers.
286 TotalUsageTowardLimit uint64
287 Anon uint64 `json:"anon"`
288 File uint64 `json:"file"`
289 SwapCached uint64 `json:"swapcached"`
290}
291
292type ContainerCPUStat struct {
293 Usage uint64

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected