aboutsummaryrefslogtreecommitdiff
path: root/procps (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix warning from needlessly-global functionsvda2007-01-221-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17481 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace fixes (leading spaces to tab)vda2007-01-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17265 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Trailing whitespace removal over entire treevda2007-01-112-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* done a dozen of randconfig test. guess what? ALL failed...vda2006-12-301-1/+4
| | | | | | | these are resulting fixes git-svn-id: svn://busybox.net/trunk/busybox@17105 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixesvda2006-12-261-2/+2
| | | | | | | last xcalloc replaced by xzalloc git-svn-id: svn://busybox.net/trunk/busybox@17081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix recognitions of -SIGname signalsvda2006-12-231-1/+2
| | | | | | | (fix by Jacques LUDER <jacques.luder@thalesgroup.com>) git-svn-id: svn://busybox.net/trunk/busybox@17061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ps: fix buglet, add microoptimizationvda2006-12-181-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16992 69ca8d6d-28ef-0310-b511-8ec308f3f277
* safe_strtoXX interface proved to be a bit unconvenient.vda2006-11-271-1/+2
| | | | | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. git-svn-id: svn://busybox.net/trunk/busybox@16684 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rodata cleanup. "unable to" == "cannot". -300 bytesvda2006-11-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16580 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add -Wundef, fix uncovered bugsvda2006-11-171-15/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16571 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ps: add documentation on POSIX psvda2006-11-052-1/+176
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ps: implement POSIX-like options, most notably -ovda2006-11-051-0/+275
| | | | | | | (activated by CONFIG_DESKTOP) git-svn-id: svn://busybox.net/trunk/busybox@16511 69ca8d6d-28ef-0310-b511-8ec308f3f277
* replace /proc scanning code by more versatile one.vda2006-11-053-63/+115
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@16509 69ca8d6d-28ef-0310-b511-8ec308f3f277
* top: improve CPU% calculationvda2006-11-053-50/+54
| | | | | | | style fixes git-svn-id: svn://busybox.net/trunk/busybox@16508 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unneeded code removed, usused field "unsigned pscpu" removedvda2006-11-012-5/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16488 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mostly style fixesvda2006-11-011-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16487 69ca8d6d-28ef-0310-b511-8ec308f3f277
* pidof: reduce #ifdef forestvda2006-11-011-39/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16486 69ca8d6d-28ef-0310-b511-8ec308f3f277
* PID should be stored in pid_t, not int or long.vda2006-11-014-39/+44
| | | | | | | | find_pid_by_name() was returning 0 or -1 in last array element, but -1 was never checked. We can use just 0 intead. git-svn-id: svn://busybox.net/trunk/busybox@16485 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ps: reduce #ifdef forestvda2006-11-011-25/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16484 69ca8d6d-28ef-0310-b511-8ec308f3f277
* top: batch mode should output all processesvda2006-10-271-8/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16455 69ca8d6d-28ef-0310-b511-8ec308f3f277
* get_terminal_width_height: do not pass insanely large valuesvda2006-10-271-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16452 69ca8d6d-28ef-0310-b511-8ec308f3f277
* silly size savings and capitalization fixesvda2006-10-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16438 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add open_read_close() and similar stuffvda2006-10-142-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* start_stop_daemon: add -N <nice> compatvda2006-10-081-31/+24
| | | | | | | | [re]nice: add support for -nNNN w/o spaces, -NNN (nice only), simplified code git-svn-id: svn://busybox.net/trunk/busybox@16344 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-084-21/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dnsd fix; option_mask32 added. dnsd needs more love.vda2006-10-061-6/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16316 69ca8d6d-28ef-0310-b511-8ec308f3f277
* build system overhaulvda2006-10-054-81/+37
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_applet_name -> applet_namevda2006-10-031-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16306 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt_ulflags -> getopt32.vda2006-10-033-8/+8
| | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@16305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* top: add support for -b, -n <iterations>vda2006-09-292-21/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* kill: implement killall5. OpenWRT folks will be happy.vda2006-09-272-28/+53
| | | | | | | | However their code was unusably different from sysvinit original. Run tested. git-svn-id: svn://busybox.net/trunk/busybox@16235 69ca8d6d-28ef-0310-b511-8ec308f3f277
* kill: fix bugs (kill -l output was horrible), fix style, constify datavda2006-09-271-55/+56
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16234 69ca8d6d-28ef-0310-b511-8ec308f3f277
* process utilities related style cleanupvda2006-09-271-17/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16233 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change license statements (and clean up headers) on some of the files thatlandley2006-09-224-33/+4
| | | | | | | Erik or I are primary copyright holders on. git-svn-id: svn://busybox.net/trunk/busybox@16175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix copy'n paste errors that got introduced when switching to the shorter ↵aldot2006-09-132-2/+2
| | | | | | | | | boilerplate. No object code changes. git-svn-id: svn://busybox.net/trunk/busybox@16113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Random cleanup hanging around my tree.landley2006-09-121-8/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16108 69ca8d6d-28ef-0310-b511-8ec308f3f277
* top: fixed wrong comment, made error message more clearvda2006-09-091-10/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16084 69ca8d6d-28ef-0310-b511-8ec308f3f277
* using [xa]sprintf for string concatenation is neat and savesvda2006-09-091-4/+3
| | | | | | | | ~100 bytes according to bloatcheck. Also this fixes bug in rpm git-svn-id: svn://busybox.net/trunk/busybox@16081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These should have been part of 15767 too.landley2006-08-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-032-30/+8
| | | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A couple things that got tangled up in my tree, easier to check in both thanlandley2006-07-122-50/+29
| | | | | | | | | | | | | | | | | untangle them: Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the signal list to that required by posix (they can specify the numbers for the rest if they really need them). (This is preparatory cleanup for adding a timeout applet like Roberto Foglietta wants.) Export the itoa (added due to Denis Vlasenko, although it's not quite his preferred implementation) from xfuncs.c so it's actually used, and remove several other redundant implementations of itoa and utoa() in the tree. git-svn-id: svn://busybox.net/trunk/busybox@15687 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make another warning go away.landley2006-06-301-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Top was catching sigterm (and fumbling sigint) so it could reset the terminallandley2006-06-281-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... git-svn-id: svn://busybox.net/trunk/busybox@15540 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move #include busybox.h to the very top so we pull in the configaldot2006-06-029-69/+15
| | | | | | | and eventual platform specific includes in early. git-svn-id: svn://busybox.net/trunk/busybox@15267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate #include <sys/time.h> so libbb.h does it.landley2006-05-272-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15203 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change llist_add_* to take the address of the list rather than returning the newlandley2006-05-261-6/+1
| | | | | | | head, and change all the callers. git-svn-id: svn://busybox.net/trunk/busybox@15199 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make it C89 compatible; Declarations in the middle of a function is of coursealdot2006-05-191-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. git-svn-id: svn://busybox.net/trunk/busybox@15131 69ca8d6d-28ef-0310-b511-8ec308f3f277
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵vapier2006-05-131-1/+1
| | | | | | mailing list git-svn-id: svn://busybox.net/trunk/busybox@15079 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fiddling with llist to make memory management easier. Specifically, thelandley2006-05-081-2/+2
| | | | | | | | option to delete the contents of the list when we delete the list is a good thing. git-svn-id: svn://busybox.net/trunk/busybox@15037 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many byteslandley2006-05-071-2/+2
| | | | | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code. git-svn-id: svn://busybox.net/trunk/busybox@15023 69ca8d6d-28ef-0310-b511-8ec308f3f277