Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2017 17:32:00 +0200
From:      Peter <pmc@citylink.dinoex.sub.org>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: 11.1-RELEASE: new line containing garbage added to "top"
Message-ID:  <olfldg$1tri$1@oper.dinoex.de>
In-Reply-To: <20170728141754.GC32551@FreeBSD.org>
References:  <olfdv2$17v5$1@oper.dinoex.de> <20170728141754.GC32551@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Glen Barber wrote:
> On Fri, Jul 28, 2017 at 03:24:50PM +0200, Peter wrote:
>> After upgrading to 11.1-RELEASE, a new line appears in the output of "top"
>> which contains rubbish:
>>
>>> last pid: 10789;  load averages:  5.75,  5.19,  3.89    up 0+00:34:46
>> 03:23:51
>>> 1030 processes:9 running, 1004 sleeping, 17 waiting
>>> CPU 0: 16.0% user,  0.0% nice, 78.7% system,  4.9% interrupt,  0.4% idle
>>> CPU 1:  8.0% user,  0.0% nice, 82.5% system,  9.1% interrupt,  0.4% idle
>>> Mem: 218M Active, 34M Inact, 105M Laundry, 600M Wired, 18M Buf, 34M Free
>>> ARC: 324M Total, 54M MFU, 129M MRU, 2970K Anon, 13M Header, 125M Other
>>>      136¿176M Compress185 194M Uncompressed361.94:1 Ratio
>>> Swap: 2441M Total, 277M Used, 2164M Free, 11% Inuse
>>
>>>   PID USERNAME   PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
>> ..
>>
>>
>> That looks funny. But I dont like it.
>>
>> (Actually it looks like a wrong TERMCAP, but wasn't that ~20 years ago?
>> checking...)
>
> Do you mean the blank line between the 'Swap:' line and 'PID'?
>
> If so, that has been there as long as I can recall.  It is used for
> things like killing processes, etc.  (Hit 'k' when using top(1), and you
> will see a prompt for a PID to kill.)
>
> Glen
>

No, I mean the line *above* the 'Swap:' line, which is new and
*should* show compressed arc stats. (What we actually see there is
the printing of a random memory location - working on it...)



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