diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-10-11 18:47:20 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-10-11 18:47:20 +0000 |
commit | 7857c038087a94345e768bc010134d8ff2586809 (patch) | |
tree | e4a246f2267a80f39138920b283aa28d56011e5a /debianutils/start_stop_daemon.c | |
parent | d12061b299a096359b998e0e4415ebe77b45c96b (diff) | |
download | busybox-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 'debianutils/start_stop_daemon.c')
0 files changed, 0 insertions, 0 deletions