From owner-freebsd-doc@FreeBSD.ORG Sun Mar 2 17:40:28 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE0B26C9; Sun, 2 Mar 2014 17:40:28 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 15FA016B5; Sun, 2 Mar 2014 17:40:27 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s22HeQQY015735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 2 Mar 2014 10:40:26 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s22HeQhC015732; Sun, 2 Mar 2014 10:40:26 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 2 Mar 2014 10:40:26 -0700 (MST) From: Warren Block To: Thomas Hoffmann Subject: Re: Processes and Daemons In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="3512871622-107515968-1393781935=:15729" Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 02 Mar 2014 10:40:26 -0700 (MST) Cc: dru@FreeBSD.org, freebsd-doc@freebsd.org, daniel dallmann X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2014 17:40:28 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --3512871622-107515968-1393781935=:15729 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed Content-ID: On Sun, 2 Mar 2014, Warren Block wrote: > On Sun, 2 Mar 2014, Thomas Hoffmann wrote: > >> On Sat, Mar 1, 2014 at 4:10 PM, daniel dallmann >> wrote: >> >>> I was wondering if the output from top was displayed with two headers on >>> purpose? >>> >>> http://www.za.freebsd.org/doc/handbook/basics-processes.html >> >> >> I'm guessing yes. The first is without ZFS stats (5 lines), the second with >> ZFS stats (6 lines). The text describes the 'top' heading as being 5 or 6 >> lines. So these two header formats are the two users will encounter, >> depending on their use or non-use of ZFS. > > If intentional, it's a bit misleading. Better to show just one more > realistically and note that the output will vary depending on the individual > system. It does not seem necessary mention ZFS specifically. And now I see that it does mention ZFS conditionally. The second header has more detail, but the uptime has been moved more to the right than would show in a standard 80-column console. This patch provides a minimal change: Index: basics/chapter.xml =================================================================== --- basics/chapter.xml (revision 44101) +++ basics/chapter.xml (working copy) @@ -3034,13 +3034,7 @@ The output from &man.top.1; is similar: &prompt.user; top -last pid: 72257; load averages: 0.13, 0.09, 0.03 up 0+13:38:33 22:39:10 -47 processes: 1 running, 46 sleeping -CPU states: 12.6% user, 0.0% nice, 7.8% system, 0.0% interrupt, 79.7% idle -Mem: 36M Active, 5256K Inact, 13M Wired, 6312K Cache, 15M Buf, 408K Free -Swap: 256M Total, 38M Used, 217M Free, 15% Inuse - -last pid: 9609; load averages: 0.56, 0.45, 0.36 up 0+00:20:03 10:21:46 +last pid: 9609; load averages: 0.56, 0.45, 0.36 up 0+00:20:03 10:21:46 107 processes: 2 running, 104 sleeping, 1 zombie CPU: 6.2% user, 0.1% nice, 8.2% system, 0.4% interrupt, 85.1% idle Mem: 541M Active, 450M Inact, 1333M Wired, 4064K Cache, 1498M Free @@ -3068,9 +3062,9 @@ figures in the header relate to how many processes are running, how much memory and swap space has been used, and how much time the system is spending in different CPU states. If - the system has been formatted with the ZFS - file system, the ARC line provides an - indication of how much data was read from the memory cache + the ZFS + file system module has been loaded, an ARC line indicates + how much data was read from the memory cache instead of from disk. Below the header is a series of columns containing similar --3512871622-107515968-1393781935=:15729 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=hb-top.diff Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME=hb-top.diff SW5kZXg6IGJhc2ljcy9jaGFwdGVyLnhtbA0KPT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PQ0KLS0tIGJhc2ljcy9jaGFwdGVyLnhtbAkocmV2aXNpb24gNDQxMDEp DQorKysgYmFzaWNzL2NoYXB0ZXIueG1sCSh3b3JraW5nIGNvcHkpDQpAQCAt MzAzNCwxMyArMzAzNCw3IEBADQogICAgICAgPHBhcmE+VGhlIG91dHB1dCBm cm9tICZtYW4udG9wLjE7IGlzIHNpbWlsYXI6PC9wYXJhPg0KIA0KICAgICAg IDxzY3JlZW4+JnByb21wdC51c2VyOyA8dXNlcmlucHV0PnRvcDwvdXNlcmlu cHV0Pg0KLWxhc3QgcGlkOiA3MjI1NzsgIGxvYWQgYXZlcmFnZXM6ICAwLjEz LCAgMC4wOSwgIDAuMDMgICAgdXAgMCsxMzozODozMyAgMjI6Mzk6MTANCi00 NyBwcm9jZXNzZXM6ICAxIHJ1bm5pbmcsIDQ2IHNsZWVwaW5nDQotQ1BVIHN0 YXRlczogMTIuNiUgdXNlciwgIDAuMCUgbmljZSwgIDcuOCUgc3lzdGVtLCAg MC4wJSBpbnRlcnJ1cHQsIDc5LjclIGlkbGUNCi1NZW06IDM2TSBBY3RpdmUs IDUyNTZLIEluYWN0LCAxM00gV2lyZWQsIDYzMTJLIENhY2hlLCAxNU0gQnVm LCA0MDhLIEZyZWUNCi1Td2FwOiAyNTZNIFRvdGFsLCAzOE0gVXNlZCwgMjE3 TSBGcmVlLCAx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