os_mon patch for get_memory_usage under OS X

Scott Brooks scott.brooks@REDACTED
Fri Nov 20 17:39:00 CET 2009


The attached patch adds support to using the memsup port to get memory information rather then parsing the output from vm_stat.

I have only tested this on 10.6, but it should work on previous versions.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: darwin_memsup.patch
Type: application/octet-stream
Size: 3998 bytes
Desc: darwin_memsup.patch
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20091120/f24fdef8/attachment.obj>


More information about the erlang-patches mailing list