Bug#181951: libc6: Libc6 doesn't draw "top" screen correctly
At Fri, 21 Feb 2003 17:37:08 +0200,
joonas.paalasmaa@iki.fi wrote:
> When using libc6 2.3.1-11, screen of command "top" is drawn incorrectly,
> whereas when version 2.2.5-11.2 is used, top functions in the right way.
> With 2.2.5-11.2 the first line of top's output is not shown if the number
> of processes is so big that the list of them has to be truncated.
>
> So the uppermost part of top's screen looks like:
> 36 processes: 35 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states: 4.6% user, 5.2% system, 0.0% nice, 90.2% idle
>
> Whereas the correctly draw screen looks like this:
> 17:20:23 up 6:42, 4 users, load average: 0.08, 0.20, 0.24
> 36 processes: 35 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states: 4.6% user, 5.2% system, 0.0% nice, 90.2% idle
>
> I don't know what part os libc6 is causing the problem, but the problem
> appeared when I upgraded from 2.2.5-11.2 to 2.3.1-11.
My procps (Version: 1:3.1.5-1) shows in the right way.
The top displays on my machine:
top - 11:18:38 up 14 days, 12:59, 27 users, load average: 0.52, 0.34, 0.34
Tasks: 169 total, 1 running, 168 sleeping, 0 stopped, 0 zombie
Cpu(s): 16.7% user, 1.3% system, 0.1% nice, 81.9% idle
Mem: 1031476k total, 1004904k used, 26572k free, 325916k buffers
Swap: 2048216k total, 179036k used, 1869180k free, 295356k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ Command
<process list...>
Which version is your procps? It seems your version is old.
Did you upgrade only libc6? Many packages depends on libc6, so you
install many packages at the same time.
I doubt it's libc6 problem. Please recheck, otherwise I close this bug.
Regards,
-- gotom
Reply to: