Date: Wed, 20 Jul 2005 10:56:58 +0200 From: Marc Olzheim <marcolz@stack.nl> To: =?iso-8859-1?Q?=D6zkan?= KIRIK <ozkan@mersin.edu.tr> Cc: freebsd-hackers@freebsd.org Subject: Re: Real and Free Memory Message-ID: <20050720085658.GA27390@stack.nl> In-Reply-To: <42DE0E91.9000607@mersin.edu.tr> References: <42DE0E91.9000607@mersin.edu.tr>
next in thread | previous in thread | raw e-mail | index | archive | help
--KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 20, 2005 at 11:42:57AM +0300, zkan KIRIK wrote: > Hi, >=20 > i am trying to measure free memory and real memory. >=20 > but values at dmesg.boot and sysctl are diffrent. >=20 > # cat /var/run/dmesg.boot | grep real > real memory =3D 268435456 (256 MB) >=20 > # sysctl vm.vmtotal | grep Real > Real Memory: (Total: 232792K Active 122448K) >=20 > As above, values are not equal, > so that, i cant trust the Free Memory value that sysctl gives. >=20 > how can i get right values? sysctl hw.physmem Zlo --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC3hHaezjnobFOgrERAtZZAJ9k6jwmAx9Ad+szMwlkGU+zSKR6bACbBIzB UNUUf9VFs8rQ04lgD1E/Sio= =cavg -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050720085658.GA27390>