From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 20 08:43:17 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E693C16A41F for ; Wed, 20 Jul 2005 08:43:17 +0000 (GMT) (envelope-from ozkan@mersin.edu.tr) Received: from mail.mersin.edu.tr (mail.mersin.edu.tr [193.255.128.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F61043D46 for ; Wed, 20 Jul 2005 08:43:17 +0000 (GMT) (envelope-from ozkan@mersin.edu.tr) Received: from localhost (localhost.mersin.edu.tr [127.0.0.1]) by mail.mersin.edu.tr (Postfix) with ESMTP id 164CC45398 for ; Wed, 20 Jul 2005 11:43:20 +0300 (EEST) Received: from mail.mersin.edu.tr ([127.0.0.1]) by localhost (mail.mersin.edu.tr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 96469-33 for ; Wed, 20 Jul 2005 11:43:08 +0300 (EEST) Received: from [10.0.50.20] (unknown [81.213.166.209]) by mail.mersin.edu.tr (Postfix) with ESMTP id 73BEC45383 for ; Wed, 20 Jul 2005 11:43:08 +0300 (EEST) Message-ID: <42DE0E91.9000607@mersin.edu.tr> Date: Wed, 20 Jul 2005 11:42:57 +0300 From: =?ISO-8859-9?Q?=D6zkan_KIRIK?= User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-9; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mersin.edu.tr Subject: Real and Free Memory X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 08:43:18 -0000 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