From owner-svn-src-head@FreeBSD.ORG Sat Nov 13 12:23:03 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB3381065670; Sat, 13 Nov 2010 12:23:03 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 524578FC19; Sat, 13 Nov 2010 12:23:03 +0000 (UTC) Received: by qyk2 with SMTP id 2so444073qyk.13 for ; Sat, 13 Nov 2010 04:23:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=fqvr9+olwtihak1drhyjhlCBLRujZJRlsLW4kroS1sU=; b=Zsy+HgU3NUFlt7mmRYC1N9M/L8OrgBp8KOQA29Oyk3SCaEr9bEwks0b2CYV9WWeMqw sCPOWEwNnAYSG6/2qb1496ECcgHSdAtb3NRF0G2iGNfdEfOvmL3YPFatPEz9BHOfsuF8 PHxZfHkhxJh0TKoGhrS6XdhJ2szxhVaNEGs1s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=EPKoT/vMuQOoyUAtEc1/Da+ws7IGZ5mwTAjqe3D+0qObYM54/vQv8LUw8MmIycKc4X 0V76Qpx7Ub1DiObFFeEw3oeljnCJkGAhVwA2n8ACdaY83H3HfmnsdNhlptFRnH0To9Sk 29plTjn+9sP1cg7CPTelXU9JM1xH95845Noys= MIME-Version: 1.0 Received: by 10.229.190.145 with SMTP id di17mr2906314qcb.252.1289649393022; Sat, 13 Nov 2010 03:56:33 -0800 (PST) Sender: pluknet@gmail.com Received: by 10.229.69.135 with HTTP; Sat, 13 Nov 2010 03:56:32 -0800 (PST) In-Reply-To: <201011131143.oADBhKoL046158@svn.freebsd.org> References: <201011131143.oADBhKoL046158@svn.freebsd.org> Date: Sat, 13 Nov 2010 14:56:32 +0300 X-Google-Sender-Auth: LNALmbOQQ5NYLsApyjCC9fsJu1o Message-ID: From: Sergey Kandaurov To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r215239 - head/usr.bin/top X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 12:23:04 -0000 On 13 November 2010 14:43, Bruce Cran 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 > =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) >