Guest User

Untitled

a guest
Mar 19th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. type MemoryStats struct {
  2. // Current memory usage, this includes all memory regardless of when it was
  3. // accessed.
  4. // Units: Bytes.
  5. Usage uint64 `json:"usage"`
  6.  
  7. // Maximum memory usage recorded.
  8. // Units: Bytes.
  9. MaxUsage uint64 `json:"max_usage"`
  10.  
  11. // Number of bytes of page cache memory.
  12. // Units: Bytes.
  13. Cache uint64 `json:"cache"`
  14.  
  15. // The amount of anonymous and swap cache memory (includes transparent
  16. // hugepages).
  17. // Units: Bytes.
  18. RSS uint64 `json:"rss"`
  19.  
  20. // The amount of swap currently used by the processes in this cgroup
  21. // Units: Bytes.
  22. Swap uint64 `json:"swap"`
  23.  
  24. // The amount of working set memory, this includes recently accessed memory,
  25. // dirty memory, and kernel memory. Working set is <= "usage".
  26. // Units: Bytes.
  27. WorkingSet uint64 `json:"working_set"`
  28.  
  29. Failcnt uint64 `json:"failcnt"`
  30.  
  31. ContainerData MemoryStatsMemoryData `json:"container_data,omitempty"`
  32. HierarchicalData MemoryStatsMemoryData `json:"hierarchical_data,omitempty"`
  33. }
Add Comment
Please, Sign In to add comment