porting an app that checks /proc/meminfo
Simon Barner
barner at FreeBSD.org
Wed Jan 25 16:25:19 PST 2006
Brooks Davis wrote:
> If you want the ram used by a particular process use getrusage(2).
Unfortuantely, memory usage information does not seem to be implemented on
Linux (it certainly is on FreeBSD). Another instance of those annoying
portability issues...
--
Best regards / Viele Grüße, barner at FreeBSD.org
Simon Barner barner at gmx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060126/ca7d4574/attachment.bin
More information about the freebsd-ports
mailing list