summaryrefslogtreecommitdiff
path: root/procps/top.c
AgeCommit message (Collapse)Author
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-12-08Splitting statements with #define's can cause trouble for crossGlenn L McGrath
compilers (and it looks a bit messy)
2003-10-11Paul Mundt (lethal) writes:Eric Andersen
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-09-15Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen
to ensure proper fallback behavior on, i.e. serial consoles. -Erik
2003-07-03Patch from Russell Coker:Eric Andersen
I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
2003-03-19Major coreutils update.Manuel Novoa III
2002-10-22Patch last_pach62 from vodz. This patch moves all the /proc parsingEric Andersen
code into libbb so it can be shared by ps, top, etc, saving over 1.5k.
2002-09-30last_patch58 from vodz:Eric Andersen
Ok. I generate patch for include to busybox-devel my work with top (original author give me maintaining) and telnetd (my support and unofficial maintaining) applets. Docs changes also: added awk, netstat, time applets to list ;)
2002-09-20don't leak FILEsEric Andersen
2002-09-18Commit vodz's patch, plus a tweak to change TracePid to TracerPid. Now0_60_4Manuel Novoa III
works on i386 (2.4.19) and arm (2.4.6).
2002-09-17Add a new top appletEric Andersen
-Erik