Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | make sure ps/top output what they claim: vsz, not rss ... down the line we ↵ | Mike Frysinger | 2007-02-08 | 1 | -21/+21 | |
| | | | | should make the output controllable either at runtime or buildtime as both statistics are quite useful | |||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 1 | -0/+1 | |
| | | | | no preceding prototype | |||||
* | Trailing whitespace removal over entire tree | Denis Vlasenko | 2007-01-11 | 1 | -1/+1 | |
| | ||||||
* | done a dozen of randconfig test. guess what? ALL failed... | Denis Vlasenko | 2006-12-30 | 1 | -1/+4 | |
| | | | | these are resulting fixes | |||||
* | replace /proc scanning code by more versatile one. | Denis Vlasenko | 2006-11-05 | 1 | -51/+93 | |
| | | | | | | | Use it where appropriate. Stop scanning /etc/passwd *for every process*!!! (uid->username) top: reduce memory usage - we won't save unneeded fields from /proc info anymore. Downside: ~+250 bytes of code | |||||
* | top: improve CPU% calculation | Denis Vlasenko | 2006-11-05 | 1 | -35/+39 | |
| | | | | style fixes | |||||
* | PID should be stored in pid_t, not int or long. | Denis Vlasenko | 2006-11-01 | 1 | -4/+5 | |
| | | | | | find_pid_by_name() was returning 0 or -1 in last array element, but -1 was never checked. We can use just 0 intead. | |||||
* | top: batch mode should output all processes | Denis Vlasenko | 2006-10-27 | 1 | -8/+4 | |
| | ||||||
* | add open_read_close() and similar stuff | Denis Vlasenko | 2006-10-14 | 1 | -1/+1 | |
| | ||||||
* | attempt to regularize atoi mess. | Denis Vlasenko | 2006-10-08 | 1 | -4/+4 | |
| | ||||||
* | dnsd fix; option_mask32 added. dnsd needs more love. | Denis Vlasenko | 2006-10-06 | 1 | -6/+5 | |
| | ||||||
* | getopt_ulflags -> getopt32. | Denis Vlasenko | 2006-10-03 | 1 | -2/+2 | |
| | | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit. | |||||
* | top: add support for -b, -n <iterations> | Denis Vlasenko | 2006-09-29 | 1 | -19/+28 | |
| | ||||||
* | top: fixed wrong comment, made error message more clear | Denis Vlasenko | 2006-09-09 | 1 | -10/+6 | |
| | ||||||
* | Remove bb_ prefixes from xfuncs.c (and a few other places), consolidate | Rob Landley | 2006-08-03 | 1 | -17/+4 | |
| | | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) | |||||
* | Make another warning go away. | Rob Landley | 2006-06-30 | 1 | -1/+0 | |
| | ||||||
* | Top was catching sigterm (and fumbling sigint) so it could reset the terminal | Rob Landley | 2006-06-28 | 1 | -5/+2 | |
| | | | | | | type on the way out, but the signal handler didn't exit. Plus it did unnecessary things with sigaction. This code is overgrown and needs a serious weed-whacking... | |||||
* | - move #include busybox.h to the very top so we pull in the config | Bernhard Reutner-Fischer | 2006-06-02 | 1 | -1/+1 | |
| | | | | and eventual platform specific includes in early. | |||||
* | Consolidate #include <sys/time.h> so libbb.h does it. | Rob Landley | 2006-05-27 | 1 | -2/+0 | |
| | ||||||
* | - make it C89 compatible; Declarations in the middle of a function is of course | Bernhard Reutner-Fischer | 2006-05-19 | 1 | -3/+4 | |
| | | | | | | fine in C99, but it really serves no purpose other than breaking compilation on C89 compilers. Thanks to Rich Felker for pointing this out. | |||||
* | Fix allbareconfig. | Rob Landley | 2006-05-04 | 1 | -11/+5 | |
| | ||||||
* | From Denis Vlasenko: | Rob Landley | 2006-04-24 | 1 | -223/+177 | |
| | | | | | | | | | | | * CPU% = process[i].ticks/sum(process[i].ticks) * busy_cpu_ticks/total_cpu_ticks * got rid of empty line under "Load average" line and used last line - +2 visible processes * do not do float conversion of loadavg, just read it as string from /proc * fix display on small screens * dropped unused .stime, .utime fields * a few variables were renamed * style fixes | |||||
* | - patch from Denis Vlasenko to add and use bb_xchdir() | Bernhard Reutner-Fischer | 2006-04-12 | 1 | -3/+2 | |
| | ||||||
* | add last terminal line | "Vladimir N. Oleynik" | 2006-02-15 | 1 | -6/+12 | |
| | ||||||
* | restore change by Denis Vlasenko: file_to_buf must vary fast, best if inline | "Vladimir N. Oleynik" | 2006-02-14 | 1 | -8/+7 | |
| | ||||||
* | Cleanups from Denis Vlasenko. | Rob Landley | 2006-02-13 | 1 | -162/+162 | |
| | ||||||
* | removed warning "comparison between signed and unsigned". Added ↵ | "Vladimir N. Oleynik" | 2006-01-30 | 1 | -7/+7 | |
| | | | | ATTRIBUTE_UNUSED. My whitespace | |||||
* | just whitespace | Tim Riker | 2006-01-25 | 1 | -5/+5 | |
| | ||||||
* | getopt -> getopt_ulflags. noticed by Rob Sullivan | "Vladimir N. Oleynik" | 2005-11-29 | 1 | -13/+9 | |
| | ||||||
* | ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE->CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE | "Vladimir N. Oleynik" | 2005-09-16 | 1 | -16/+16 | |
| | ||||||
* | FEATURE->ENABLE_FEATURE loses one for 'top' applet | "Vladimir N. Oleynik" | 2005-09-14 | 1 | -16/+16 | |
| | ||||||
* | some portability fixes by rmh in Bug 395 | Mike Frysinger | 2005-08-27 | 1 | -2/+0 | |
| | ||||||
* | touchup syntax | Mike Frysinger | 2005-07-30 | 1 | -10/+13 | |
| | ||||||
* | A patch from Takeharu KATO to update/fix SE-Linux support. | Rob Landley | 2005-05-03 | 1 | -4/+0 | |
| | ||||||
* | Patch from Bernhard Fischer to make a bunch of symbols static | Eric Andersen | 2005-04-16 | 1 | -1/+1 | |
| | | | | which were otherwise cluttering the global namespace. | |||||
* | remove a cut/paste mistake, i better get some sleep. | Glenn L McGrath | 2004-09-14 | 1 | -20/+0 | |
| | ||||||
* | Apply patch from Felipe Kellermann to simlify logic of sort functions. | Glenn L McGrath | 2004-09-14 | 1 | -26/+24 | |
| | | | | I reversed the result of the sort functions to make the big numbers go to the top. | |||||
* | Larry Doolittle writes: | Eric Andersen | 2004-04-14 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry | |||||
* | Remove trailing whitespace. Update copyright to include 2004. | Eric Andersen | 2004-03-15 | 1 | -10/+10 | |
| | ||||||
* | Splitting statements with #define's can cause trouble for cross | Glenn L McGrath | 2003-12-08 | 1 | -7/+5 | |
| | | | | compilers (and it looks a bit messy) | |||||
* | Paul Mundt (lethal) writes: | Eric Andersen | 2003-10-11 | 1 | -12/+48 | |
| | | | | | | | | | | | | | | | | | | | | | 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(-) | |||||
* | Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize) | Eric Andersen | 2003-09-15 | 1 | -12/+9 | |
| | | | | | to ensure proper fallback behavior on, i.e. serial consoles. -Erik | |||||
* | Patch from Russell Coker: | Eric Andersen | 2003-07-03 | 1 | -0/+4 | |
| | | | | | I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox. | |||||
* | Major coreutils update. | Manuel Novoa III | 2003-03-19 | 1 | -10/+10 | |
| | ||||||
* | Patch last_pach62 from vodz. This patch moves all the /proc parsing | Eric Andersen | 2002-10-22 | 1 | -147/+23 | |
| | | | | code into libbb so it can be shared by ps, top, etc, saving over 1.5k. | |||||
* | last_patch58 from vodz: | Eric Andersen | 2002-09-30 | 1 | -292/+583 | |
| | | | | | | | 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 ;) | |||||
* | don't leak FILEs | Eric Andersen | 2002-09-20 | 1 | -0/+3 | |
| | ||||||
* | Commit vodz's patch, plus a tweak to change TracePid to TracerPid. Now0_60_4 | Manuel Novoa III | 2002-09-18 | 1 | -19/+20 | |
| | | | | works on i386 (2.4.19) and arm (2.4.6). | |||||
* | Add a new top applet | Eric Andersen | 2002-09-17 | 1 | -0/+408 | |
-Erik |