From owner-svn-src-stable-8@FreeBSD.ORG Wed Feb 16 08:36:30 2011 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C3331065679; Wed, 16 Feb 2011 08:36:30 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id AC9008FC15; Wed, 16 Feb 2011 08:36:29 +0000 (UTC) Received: by qwj9 with SMTP id 9so1015086qwj.13 for ; Wed, 16 Feb 2011 00:36:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=64/5adsMuBKvLZpFWqll4+yw001N6AERIj4b2WJbEA4=; b=Rmb62L+GhKKC8fTGPJmhEgDMPefdD29ZjGwRDuVPU+ygmNqF+PfvdktCfkZxO4IrU8 eWcSkKVrWlPSdSwJ0oSP7LjQLwIzN/WmBX6p6cRA+3cEA+uIf0LHiBrcoN3/oTRpFYQ8 63qtTTbngqKh5S2tHzp7JQWeufUN98piuMZwc= 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=gTzl6yDx4wgVQOqWQ+itkxMwxjPpj3bQENLJok2HZt4NWSTnFDurdJ4r225+OPWUla g37cB1aB4hNKVvzqUrWZpE4IZRCxERQ+NdT/pAMcdzcNDmDwMKX1TAcqsiBAPk4qEqJN ksQumJBBlnUx2GAhNeJZ9kGwMFv90P7rTYvvA= MIME-Version: 1.0 Received: by 10.229.248.198 with SMTP id mh6mr372537qcb.5.1297845388573; Wed, 16 Feb 2011 00:36:28 -0800 (PST) Sender: pluknet@gmail.com Received: by 10.229.102.87 with HTTP; Wed, 16 Feb 2011 00:36:28 -0800 (PST) In-Reply-To: References: <201102150633.p1F6XZrT020272@svn.freebsd.org> Date: Wed, 16 Feb 2011 11:36:28 +0300 X-Google-Sender-Auth: OT7-AioVEIYypbSaCAmwh3iTpmM Message-ID: From: Sergey Kandaurov To: Giorgos Keramidas Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-8@freebsd.org, svn-src-stable@freebsd.org Subject: Re: svn commit: r218695 - stable/8/usr.bin/top X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2011 08:36:30 -0000 On 16 February 2011 09:54, Giorgos Keramidas wrote: > On Wed, 16 Feb 2011 00:06:39 -0500, jhell wrote: >> On Tue, 15 Feb 2011 01:33, keramida@ wrote: >>> URL: http://svn.freebsd.org/changeset/base/218695 >>> >>> =A0MFC 217746 from /head/usr.bin/top >>> >>> =A0Touch up the sample memory usage numbers a bit, to avoid wrapping >>> =A0on terminal boundary. =A0While here add definition for 'G' and fix >>> =A0the indentation of 'K' units. > .. >>> -.SH DESCRIPTION OF MEMORY >>> -Mem: 9220K Active, 1032K Inact, 3284K Wired, 1M Cache, 2M Buf, 1320K F= ree >>> +.SH DESCRIPTION OF MEMORY >>> +Mem: 9220K Active, 1M Inact, 3284K Wired, 1M Cache, 2M Buf, 1320K Free >>> Swap: 91M Total, 79M Free, 13% Inuse, 80K In, 104K Out >> >> Maybe being a little picky here but consistency in this might persuade >> further questions on why Active is using K but yet Inact "being >> smaller" than that is using M. >> >> Might be best to just take some active values straight from a running >> top(1) output rather than blindly adjusting them. > > On Wed, 16 Feb 2011 08:50:30 +0300, Sergey Kandaurov wrote: >> Well, that was already broken before the change. > > It's still not too late to do that. =A0I'll replace the Mem: line with on= e > from my current installation: > > Mem: 18M Active, 298M Inact, 119M Wired, 220K Cache, 110M Buf, 553M Free > > Does that look better? > >From my observations the line length (without trailing '/0') must be in [66= ,71] range (both limits inclusive). Otherwise the line renders incorrectly for m= e. Yours is one character longer. --=20 wbr, pluknet