busybox/procps
Eric Andersen 7857c03808 Paul Mundt (lethal) writes:
Erik,

The format for /proc/meminfo has changed between 2.4 and 2.6, quite considerably.
In addition to the removal of the two-line summary that was present in 2.4,
MemShared was also removed. Presently (at least in busybox CVS HEAD), top fails
to parse this correctly and spews forth a:

top: failed to read 'meminfo'

message. This patch switches around some of the semantics a little to do sane
parsing for both 2.4 and 2.6. Also, in the event that the summary gets yanked
from 2.4, this patch will deal with that as well. With this patch, I'm able
to run top correctly on 2.6.0-test7 (tested on sh).

Please apply.

 procps/top.c |   60 +++++++++++++++++++++++++++++++++++++++++++++++------------
  1 files changed, 48 insertions(+), 12 deletions(-)
2003-10-11 18:47:20 +00:00
..
Config.in Patch from Terje Kvernes adding quite a lot of missing documentation 2003-07-22 09:59:34 +00:00
free.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
kill.c Fixup segfault on 'kill -q' 2003-08-06 07:43:58 +00:00
Makefile Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile.in Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
pidof.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
ps.c Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize) 2003-09-15 08:33:45 +00:00
renice.c Major coreutils update. 2003-03-19 09:13:01 +00:00
top.c Paul Mundt (lethal) writes: 2003-10-11 18:47:20 +00:00
uptime.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00