Re: BusyBox top buffered and the cached memory

2017-08-07 Thread Christoph Biedl
Klaaßen, Fynn (LAWO)   wrote:

> I guess, there is a trivial bug when using busybox top:
>
> BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) multi-call binary:
>
> Mem: 3278296K used, 1236784K free, 0K shrd, 35373432K buff, 140001458828604 K 
> cached

This has been fixed a while ago in

| 7df1f1dda1f997c44800d16a9a12cf6cae2ed7e7 is the first bad commit
| commit 7df1f1dda1f997c44800d16a9a12cf6cae2ed7e7
| Author: Timo Teräs 
| Date:   Mon Jul 21 14:14:24 2014 +0300
|
| top: fix and merge code to parse /proc/meminfo

Unfortunately, the version of busybox shipped in Debian/Ubuntu is fairly
outdated. This however is going to change soon-ish. For the time being,
just a typo reported by Debian's obnoxious lint checker "lintian":

I: busybox-static: spelling-error-in-binary bin/busybox compatiblity 
compatibility

(That's in util-linux/fdisk.c)

Cheers,

Christoph

___
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Re: BusyBox top buffered and the cached memory

2017-08-01 Thread Kang-Che Sung
On Tue, Aug 1, 2017 at 3:44 PM, Klaaßen, Fynn (LAWO)
 wrote:
>
> I guess, there is a trivial bug when using busybox top:
>
> BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) multi-call binary:
>
> Mem: 3278296K used, 1236784K free, 0K shrd, 35373432K buff, 140001458828604K
> cached
>
> …or…
>
> BusyBox v1.22.1:
>
> Mem: 559252K used, 1413876K free, 0K shrd, 160503248K buff, 160503296K
> cached
>
> The size oft the buffered and the cached memory seems a bit large and
> probably has the wrong unit.

Can you reproduce it? Did you try the latest development version (git
master branch)?
I think you can help us more if you can deduce which commit caused the
regression,
or provide some other info that can help us reproduce it.
___
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

BusyBox top buffered and the cached memory

2017-08-01 Thread LAWO
Hey!


I guess, there is a trivial bug when using busybox top:

BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) multi-call binary:

Mem: 3278296K used, 1236784K free, 0K shrd, 35373432K buff, 140001458828604K 
cached

…or…

BusyBox v1.22.1:

Mem: 559252K used, 1413876K free, 0K shrd, 160503248K buff, 160503296K cached



The size oft the buffered and the cached memory seems a bit large and probably 
has the wrong unit.



Best regards,

Fynn

___
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox