On 13 November 2010 14:43, Bruce Cran <bru...@freebsd.org> wrote: > Author: brucec > Date: Sat Nov 13 11:43:20 2010 > New Revision: 215239 > URL: http://svn.freebsd.org/changeset/base/215239 > > Log: > Memory stats are reported in bytes, not pages. > > PR: docs/151283 > Submitted by: Bas Smeelen <b.smeelen at ose.nl> > MFC after: 3 days >
Hi. The downside is that usually active/passive/inactive operations are performed over pages, not bytes, since a page is usually the minimum unit of memory management. The sentences resulted after this change sound now weird for me. > Modified: > head/usr.bin/top/top.local.1 > > Modified: head/usr.bin/top/top.local.1 > ============================================================================== > --- head/usr.bin/top/top.local.1 Sat Nov 13 11:11:51 2010 > (r215238) > +++ head/usr.bin/top/top.local.1 Sat Nov 13 11:43:20 2010 > (r215239) > @@ -6,8 +6,8 @@ The '-H' option will toggle the display > At runtime the 'H' key will toggle this mode. The default is OFF. > > .SH DESCRIPTION OF MEMORY > -Mem: 9220K Active, 1032K Inact, 3284K Wired, 1MB Cache, 2M Buf, 1320K Free > -Swap: 91M Total, 79M Free, 13% Inuse, 80K In, 104 K Out > +Mem: 9220K Active, 1032K Inact, 3284K Wired, 1M Cache, 2M Buf, 1320K Free > +Swap: 91M Total, 79M Free, 13% Inuse, 80K In, 104K Out > > .B K: > Kilobyte > @@ -19,23 +19,23 @@ Megabyte > 1/100 > .TP > .B Active: > -number of pages active > +number of bytes active > .TP > .B Inact: > -number of pages inactive > +number of bytes inactive > .TP > .B Wired: > -number of pages wired down, including cached file data pages > +number of bytes wired down, including cached file data pages > .TP > .B Cache: > -number of clean pages caching data that are available for > +number of clean bytes caching data that are available for > immediate reallocation > .TP > .B Buf: > -number of pages used for BIO-level disk caching > +number of bytes used for BIO-level disk caching > .TP > .B Free: > -number of pages free > +number of bytes free > .TP > .B Total: > total available swap usage > @@ -47,7 +47,7 @@ total free swap usage > swap usage > .TP > .B In: > -pages paged in from swap devices (last interval) > +bytes paged in from swap devices (last interval) > .TP > .B Out: > -pages paged out to swap devices (last interval) > +bytes paged out to swap devices (last interval) > _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"