I believe I have successfully cargo-culted my way (with help from the Internet)
to providing the total virtual memory usage on Mac OS X. Mac OS X does not have
the /proc filesystem, so the code in FD that inspects that for memory usage does
not work.
Attached is a patched copy of utilities.cc for your review and possible
incorporation
|