Skip to content

Process memory usage metric via VmRss from /proc/self/status#43

Open
dmalkr wants to merge 3 commits intofpco:masterfrom
migamake:dmalkr/measure-via-vmstat
Open

Process memory usage metric via VmRss from /proc/self/status#43
dmalkr wants to merge 3 commits intofpco:masterfrom
migamake:dmalkr/measure-via-vmstat

Conversation

@dmalkr
Copy link

@dmalkr dmalkr commented Mar 3, 2020

Here I add measure of memory used by process with VmRss from Linux file /proc/self/status.

It can be used to measure FFI-based Haskell programs, when max_mem_in_use_bytes from GHC.Stats is not gets any information.

@chrisdone
Copy link
Contributor

I like this idea. There are some issues that would need to be resolved before I could merge it which I'll comment on in the code.

@dmalkr
Copy link
Author

dmalkr commented Mar 4, 2020

There are some issues that would need to be resolved

Well, I wait for them and ready to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants