aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-11 18:47:20 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-11 18:47:20 +0000
commit7857c038087a94345e768bc010134d8ff2586809 (patch)
treee4a246f2267a80f39138920b283aa28d56011e5a /miscutils
parentd12061b299a096359b998e0e4415ebe77b45c96b (diff)
downloadbusybox-7857c038087a94345e768bc010134d8ff2586809.tar.gz
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(-)
Diffstat (limited to 'miscutils')
0 files changed, 0 insertions, 0 deletions