Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Nov 2010 14:56:32 +0300
From:      Sergey Kandaurov <pluknet@freebsd.org>
To:        Bruce Cran <brucec@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r215239 - head/usr.bin/top
Message-ID:  <AANLkTi=zBC29jiLHZzyGKqYnYYiP2sEkWzvn9hgqLJFg@mail.gmail.com>
In-Reply-To: <201011131143.oADBhKoL046158@svn.freebsd.org>
References:  <201011131143.oADBhKoL046158@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 November 2010 14:43, Bruce Cran <brucec@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:
> =A0Memory stats are reported in bytes, not pages.
>
> =A0PR: =A0 docs/151283
> =A0Submitted by: Bas Smeelen <b.smeelen at ose.nl>
> =A0MFC 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 manage=
ment.
The sentences resulted after this change sound now weird for me.

> Modified:
> =A0head/usr.bin/top/top.local.1
>
> Modified: head/usr.bin/top/top.local.1
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/usr.bin/top/top.local.1 =A0 =A0 =A0 =A0Sat Nov 13 11:11:51 2010 =
=A0 =A0 =A0 =A0(r215238)
> +++ head/usr.bin/top/top.local.1 =A0 =A0 =A0 =A0Sat Nov 13 11:43:20 2010 =
=A0 =A0 =A0 =A0(r215239)
> @@ -6,8 +6,8 @@ The '-H' option will toggle the display
> =A0At runtime the 'H' key will toggle this mode. The default is OFF.
>
> =A0.SH DESCRIPTION OF MEMORY
> -Mem: 9220K Active, 1032K Inact, 3284K Wired, 1MB Cache, 2M Buf, 1320K Fr=
ee
> -Swap: =A0 91M Total, 79M Free, 13% Inuse, 80K In, 104 K Out
> +Mem: 9220K Active, 1032K Inact, 3284K Wired, 1M Cache, 2M Buf, 1320K Fre=
e
> +Swap: 91M Total, 79M Free, 13% Inuse, 80K In, 104K Out
>
> =A0.B K:
> =A0Kilobyte
> @@ -19,23 +19,23 @@ Megabyte
> =A01/100
> =A0.TP
> =A0.B Active:
> -number of pages active
> +number of bytes active
> =A0.TP
> =A0.B Inact:
> -number of pages inactive
> +number of bytes inactive
> =A0.TP
> =A0.B Wired:
> -number of pages wired down, including cached file data pages
> +number of bytes wired down, including cached file data pages
> =A0.TP
> =A0.B Cache:
> -number of clean pages caching data that are available for
> +number of clean bytes caching data that are available for
> =A0immediate reallocation
> =A0.TP
> =A0.B Buf:
> -number of pages used for BIO-level disk caching
> +number of bytes used for BIO-level disk caching
> =A0.TP
> =A0.B Free:
> -number of pages free
> +number of bytes free
> =A0.TP
> =A0.B Total:
> =A0total available swap usage
> @@ -47,7 +47,7 @@ total free swap usage
> =A0swap usage
> =A0.TP
> =A0.B In:
> -pages paged in from swap devices (last interval)
> +bytes paged in from swap devices (last interval)
> =A0.TP
> =A0.B Out:
> -pages paged out to swap devices (last interval)
> +bytes paged out to swap devices (last interval)
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=zBC29jiLHZzyGKqYnYYiP2sEkWzvn9hgqLJFg>