Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2014 10:40:26 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Thomas Hoffmann <trh411@gmail.com>
Cc:        dru@FreeBSD.org, freebsd-doc@freebsd.org, daniel dallmann <djdallmann@gmail.com>
Subject:   Re: Processes and Daemons
Message-ID:  <alpine.BSF.2.00.1403021035590.15729@wonkity.com>
In-Reply-To: <alpine.BSF.2.00.1403021012540.15399@wonkity.com>
References:  <CALGz73gxqgyv8KXOom0PUC9-F76cFX9H4bsq-jj%2BwaG2VqShig@mail.gmail.com> <CAB7-odn0QkW3Beqx4Xj6m1yeWCqCtYjWQY2ZVq_wZ7TnOWwGcA@mail.gmail.com> <alpine.BSF.2.00.1403021012540.15399@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  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: <alpine.BSF.2.00.1403021039441.15729@wonkity.com>

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 
>> <djdallmann@gmail.com>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 @@
        <para>The output from &man.top.1; is similar:</para>

        <screen>&prompt.user; <userinput>top</userinput>
-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 <acronym>ZFS</acronym>
-	file system, the <literal>ARC</literal> line provides an
-	indication of how much data was read from the memory cache
+	the <acronym>ZFS</acronym>
+	file system module has been loaded, an <literal>ARC</literal> line indicates
+	how much data was read from the memory cache
  	instead of from disk.</para>

        <para>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: <alpine.BSF.2.00.1403021038550.15729@wonkity.com>
Content-Description: 
Content-Disposition: ATTACHMENT; FILENAME=hb-top.diff

SW5kZXg6IGJhc2ljcy9jaGFwdGVyLnhtbA0KPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PQ0KLS0tIGJhc2ljcy9jaGFwdGVyLnhtbAkocmV2aXNpb24gN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--3512871622-107515968-1393781935=:15729--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1403021035590.15729>