From owner-freebsd-questions@FreeBSD.ORG Thu Oct 7 13:58:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 301A110656BE for ; Thu, 7 Oct 2010 13:58:51 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id C52048FC21 for ; Thu, 7 Oct 2010 13:58:50 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Thu, 7 Oct 2010 15:58:48 +0200 Message-ID: <4CADD218.6010609@ose.nl> Date: Thu, 07 Oct 2010 15:58:48 +0200 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201010071113.o97BDg0X017404@mp.cs.niu.edu> <20101007143427.1245645f@gumby.homeunix.com> In-Reply-To: <20101007143427.1245645f@gumby.homeunix.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: Cache Memory in top command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 13:58:51 -0000 On 10/07/2010 03=3A34 PM=2C RW wrote=3A =3E On Thu=2C 7 Oct 2010 06=3A13=3A42 -0500 =28CDT=29 =3E Scott Bennett =3Cbennett=40cs=2Eniu=2Eedu=3E wrote=3A =3E =3E =3E =20 =3E=3E The top=281=29 man page is clearly in error=2C at least on Free= BSD =3E=3E systems=2E The descriptions of the Active=2C Inact=2C Wired=2C Cache= =2C Buf=2C =3E=3E and Free fields are all wrong inasmuch as the word =22pages=22 in ea= ch =3E=3E should instead be =22bytes=22=2E For example=2C top on my system at= present =3E=3E shows=3A =3E=3E =3E=3E Mem=3A 1099M Active=2C 401M Inact=2C 262M Wired=2C 88M Cache=2C 112M= Buf=2C 143M =3E=3E Free =3E=3E =3E=3E Consider the value given for =22Wired=22 =28i=2Ee=2E=2C page-fixed p= ages=2C which =3E=3E cannot exceed the number of page frames on the machine=2C of course= =2E=29 =3E=3E Now=2C either =22M=22 has some extraordinary definition=2C or it mea= ns =3E=3E =22mega=22=2C though presumably in the classical computing sense of= the =3E=3E power of 2 that is closest to one million=2E=20 =3E=3E =20 =3E It does actually say=2C just above=2C that M and K are megabytes and =3E kilobytes=2E It is wrong though=2C in that it has =22number of pages=22= when =3E it should have =22memory from pages=22 or just =22pages=22=20 =3E =20 Thank you both I have submitted a pr with patch for the man page DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only=2E Acce= ss=2C disclosure=2C copying=2C distribution or reliance on any of it by anyone else is prohibited=2E If yo= u have received it by mistake please let us know by reply and then delete it from your system= =2E