[Bug 52819] Re: top displaying incorrect swap amounts

2007-05-03 Thread Yves Junqueira
I'll mark this as "rejected", since it "works as intented". Thank you for your report - it's technically correct. But there is no proper way to fix this unless the output is wider (as per the attached patch) or we add an extra line for that - both solutions would be ugly. Regards, Yves ** Chang

[Bug 52819] Re: top displaying incorrect swap amounts

2007-05-03 Thread Yves Junqueira
Hi, This patch would fix the problem. I don't like it, because the output is now wider and won't fit in a console window, even after decreasing the space between columns. IMO this should be rejected. Do you agree, Danny? Regards, Yves ** Attachment added: "change the placement of the "cached" e

[Bug 52819] Re: top displaying incorrect swap amounts

2007-05-03 Thread Yves Junqueira
Hi Danny, Thank you for your report. I can confirm this on both Debian Etch and Ubuntu Feisty. The data itself is correct. It reflects the "Cached" information from /proc/meminfo. But since top prepends that line with "Swap:", one would guess that's swap related, where it isn't. On the other han

[Bug 52819] Re: top displaying incorrect swap amounts

2006-07-12 Thread Danny Rathjens
Same behaviour with 2.6.15-23-386 and 2.6.12-10-386, so I guess it was not due to recent update. Maybe this is just a 2.4.x.->2.6.x discrepency I never noticed before. (yeah, confirmed same bug on co-workers gentoo box and random person in [EMAIL PROTECTED], definately an upstream bug in how proc