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

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, that's great.
On Mar 2, 2014 11:40 AM, "Warren Block" <wblock@wonkity.com> wrote:

> 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



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