Date: Thu, 26 Jan 2006 01:25:20 +0100 From: Simon Barner <barner@FreeBSD.org> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: FreeBSD Ports <ports@FreeBSD.ORG> Subject: Re: porting an app that checks /proc/meminfo Message-ID: <20060126002520.GK1692@zi025.> In-Reply-To: <20060124205937.GC21232@odin.ac.hmc.edu> References: <20060124172317.GF72149@iib.unsam.edu.ar> <20060124205937.GC21232@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--Pz0BBB9QxoYXlT+x Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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... --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --Pz0BBB9QxoYXlT+x Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD2BbwCkn+/eutqCoRAljmAJ9fIzqOnNm/H8fHpfO/MyPXnvaNUgCfcxo4 J547mGghSFhc2R3vxtU99vM= =TgoR -----END PGP SIGNATURE----- --Pz0BBB9QxoYXlT+x--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060126002520.GK1692>