Repository navigation
why memory.usage read from file but not compute from stats. #4154
zdyj3170101136
started this conversation in
General
Replies: 1 comment
|
They measure different things. As for why we read them from the file, it's because we just provide the information the kernel gives you. It's up to the user as to what information they need -- if they need |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
in containerv1, read memory stats from file memory.stats, read memory usage from file memory.usage_in_bytes.
why do not compute memory usage from memory.stats[rss] + memory.stats[cache]?
it there have any difference between value with memory.usage_in_bytes and memory.stats[rss] + memory.stats[cache]?
All reactions