Skip to main content
9 events
when toggle format what by license comment
Dec 6, 2022 at 18:35 comment added Vlad Frolov @ulidtko Check which version of cgroup you are running, it is v1, use the older version of cgmemtime, otherwise (v2), make sure you use the most recent changes in master branch as v2 support was implemented just recently
Dec 6, 2022 at 11:52 comment added ulidtko Doesn't work for me. cgroups "memoery.peak" no such file or directory. I did enable the cgroups memory controller...
Mar 23, 2015 at 19:59 history edited Vlad Frolov CC BY-SA 3.0
Added usage examples
Mar 23, 2015 at 19:50 comment added terdon Fair enough. It would just be great if you could give an example of how it could be used. It would improve your answer. In any case, thanks for taking the time to post this, I'm sure others will find it useful.
Mar 23, 2015 at 19:48 comment added Vlad Frolov @terdon Yes, I did! Because I have searched for the same question and the questions are pretty much the same, and answers are all the same: 'parse ps output', which is crazy! I spent a week before accidentally bumped into cgmemtime project, which is the perfect match for all those questions, that I have commented on!
Mar 23, 2015 at 19:40 comment added terdon Thanks, but my point was more about your answer. As it stands, it is not answering the question, only pointing to some external resource that might be able to. Also, you've posted the exact same answer elsewhere which raises an automatic flag. Please edit your answer and include an example showing how this program can do what the OP is asking for.
Mar 23, 2015 at 19:37 comment added Vlad Frolov @terdon It uses wait4 to catch process exit in a combination with cgroups (memory.max_usage_in_bytes), which seems to make sense. More details are available in the README on github.
Mar 23, 2015 at 19:23 comment added terdon So, how could this tool be used to report the peak RAM usage of a program after that program has exited?
Mar 23, 2015 at 19:14 history answered Vlad Frolov CC BY-SA 3.0