Date: Thu, 07 Oct 2010 15:58:48 +0200 From: Bas Smeelen <b.smeelen@ose.nl> To: freebsd-questions@freebsd.org Subject: Re: Cache Memory in top command Message-ID: <4CADD218.6010609@ose.nl> In-Reply-To: <20101007143427.1245645f@gumby.homeunix.com> References: <201010071113.o97BDg0X017404@mp.cs.niu.edu> <20101007143427.1245645f@gumby.homeunix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CADD218.6010609>