Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 11:42:57 +0300
From:      =?ISO-8859-9?Q?=D6zkan_KIRIK?= <ozkan@mersin.edu.tr>
To:        freebsd-hackers@freebsd.org
Subject:   Real and Free Memory
Message-ID:  <42DE0E91.9000607@mersin.edu.tr>

next in thread | raw e-mail | index | archive | help
Hi,

i am trying to measure free memory and real memory.

but values at dmesg.boot and sysctl  are diffrent.

# cat /var/run/dmesg.boot | grep real
real memory  = 268435456 (256 MB)

# sysctl vm.vmtotal  | grep Real
Real Memory:            (Total: 232792K Active 122448K)

As above, values are not equal,
so that, i cant trust the Free Memory value that sysctl gives.

how can i get right values?

with best regard,
Ozkan KIRIK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42DE0E91.9000607>