aboutsummaryrefslogtreecommitdiff
path: root/procps (follow)
Commit message (Collapse)AuthorAgeFilesLines
* win32: procps/kill maskNguyễn Thái Ngọc Duy2010-04-201-1/+1
| | | | Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
* Config.in: mark all applets POSIX onlyNguyễn Thái Ngọc Duy2010-04-191-0/+13
|
* ps: fix non-DESKTOP option handling codeDenys Vlasenko2010-04-071-23/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sysctl: tiny code shrinkDenys Vlasenko2010-03-271-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: merge some common stringsDenys Vlasenko2010-03-231-1/+1
| | | | | | | | text data bss dec hexfilename 838650 8009 0 846659 ceb43busybox_old 838519 8009 0 846528 ceac0busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: make 's' display easier to understandDenys Vlasenko2010-03-041-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* free: silence warning about unused argvBernhard Reutner-Fischer2010-02-261-1/+1
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* free: code shrinkDenys Vlasenko2010-02-211-35/+48
| | | | | | | function old new delta free_main 330 302 -28 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Replace __uClinux__ define with !BB_MMUDenys Vlasenko2010-02-211-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: suppress ~60% of "aliased warnings" on gcc-4.4.1Denys Vlasenko2010-02-042-4/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: style fixes. no code changes (verified with objdump)Denys Vlasenko2010-01-281-3/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* watch: compat: use stderr to determine screen dimensionsDenys Vlasenko2010-01-191-3/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove some uses of argcDenys Vlasenko2010-01-042-4/+4
| | | | | | | | | | | | | | | | | | | | | | | function old new delta whoami_main 34 37 +3 logname_main 60 63 +3 hostid_main 35 38 +3 ttysize_main 136 135 -1 nmeter_main 673 672 -1 logger_main 387 386 -1 uuencode_main 330 328 -2 ifupdown_main 2125 2123 -2 mesg_main 158 155 -3 free_main 333 330 -3 cal_main 902 899 -3 acpid_main 443 440 -3 ar_main 196 189 -7 find_main 476 467 -9 ifconfig_main 1235 1221 -14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/12 up/down: 9/-49) Total: -40 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* watch: more compatible screen formatDenys Vlasenko2010-01-021-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: add comment about -TDenys Vlasenko2009-11-241-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: use "can't" instead of "cannot"Denys Vlasenko2009-11-132-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: do not use #if inside printf, it can be a macroDenys Vlasenko2009-11-071-18/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use ffulsh_all()Denys Vlasenko2009-11-022-3/+3
| | | | | | | | | | | | | | | | | | | | function old new delta buffer_fill_and_print 179 196 +17 fflush_all - 9 +9 spawn 87 92 +5 rtcwake_main 455 453 -2 ... alarm_intr 93 84 -9 readcmd 1072 1062 -10 bb_ask 345 333 -12 more_main 845 832 -13 flush_stdout_stderr 42 23 -19 xfflush_stdout 27 - -27 flush_stderr 30 - -30 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 2/50 up/down: 31/-397) Total: -366 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2009-10-191-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: show longer COMMANDDenys Vlasenko2009-10-091-3/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: conditionally enable -T on non-DESKTOP build tooDenys Vlasenko2009-09-212-28/+28
| | | | | | | function old new delta ps_main 253 274 +21 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps,top: add an option to show threads. +260 bytes of codeDenys Vlasenko2009-09-193-13/+47
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: remove GCCismsDenys Vlasenko2009-09-121-5/+12
| | | | | | | function old new delta display_process_list 1447 1448 +1 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix read_cmdline API and a small buglet where "[comm]" may be too narrowDenys Vlasenko2009-09-122-2/+2
| | | | | | | | | | | function old new delta func_args 25 26 +1 read_cmdline 119 114 -5 display_process_list 1462 1447 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 1/-20) Total: -19 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: add -m ("memory") optionDenys Vlasenko2009-09-111-51/+57
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pgrep: match argv[0] too, not only comm; fix a bug in argv sanitizationDenys Vlasenko2009-08-141-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pgrep/pkill: support -s and -P optionsDenys Vlasenko2009-07-061-54/+64
| | | | | | | | | | | | function old new delta pgrep_main 510 580 +70 packed_usage 26575 26616 +41 act 234 236 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 113/0) Total: 113 bytes Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: conditionally support additional -o FIELDsDenys Vlasenko2009-07-033-12/+44
| | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1409 1642 +233 out_spec 220 300 +80 func_ruser - 36 +36 func_rgroup - 36 +36 func_group 13 49 +36 func_nice - 29 +29 buffer_fill_and_print 179 196 +17 send_tree 355 360 +5 mkfs_vfat_main 1604 1609 +5 display_speed 85 90 +5 scriptreplay_main 194 197 +3 find_out_spec 55 58 +3 changepath 192 195 +3 sha1_process_block64 497 484 -13 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 10/1 up/down: 491/-13) Total: 478 bytes Signed-off-by: David Krakov <krakov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: add FAST_FUNC to function ptrs where it makes senseDenys Vlasenko2009-06-051-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta evalcommand 1195 1209 +14 testcmd - 10 +10 printfcmd - 10 +10 echocmd - 10 +10 func_exec 270 276 +6 echo_dg 104 109 +5 store_nlmsg 85 89 +4 pseudo_exec_argv 195 198 +3 dotcmd 287 290 +3 machtime_stream 29 31 +2 discard_stream 24 26 +2 argstr 1299 1301 +2 killcmd 108 109 +1 evalfor 226 227 +1 daytime_stream 43 44 +1 run_list 2544 2543 -1 lookupvar 62 61 -1 ipaddr_modify 1310 1309 -1 ... parse_stream 2254 2245 -9 evalpipe 356 347 -9 collect_if 210 197 -13 read_opt 869 851 -18 handle_dollar 681 658 -23 print_addrinfo 1342 1303 -39 iterate_on_dir 156 59 -97 print_route 1709 1609 -100 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 12/130 up/down: 74/-767) Total: -693 bytes text data bss dec hex filename 841748 467 7872 850087 cf8a7 busybox_old 841061 467 7872 849400 cf5f8 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sysctl: stop abusing parser->lineDenys Vlasenko2009-05-101-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-213-18/+18
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* move llist_find_str from modutils to libbbDenis Vlasenko2009-04-131-5/+5
|
* sysctl: move code around to get rid of forward references.Denis Vlasenko2009-03-291-108/+101
| | | | | (incidentally it helps gcc to make code smaller)
* sysctl: fix broken -p [file] - close bug 231Denis Vlasenko2009-03-291-4/+9
|
* *: move get_sock_lsa and xwrite_str to libbb, use where appropriateDenis Vlasenko2009-03-091-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta get_sock_lsa - 72 +72 buffer_fill_and_print 179 196 +17 parse_expr 824 832 +8 read_base64 343 348 +5 nameval 202 206 +4 fbset_main 1694 1698 +4 expand 1849 1853 +4 udhcp_send_kernel_packet 249 252 +3 udhcp_get_option 223 222 -1 chat_main 1246 1245 -1 pack_gzip 1661 1659 -2 doset 299 297 -2 bb__parsespent 119 117 -2 test_main 260 257 -3 qgravechar 109 106 -3 tcpudpsvd_main 1834 1830 -4 sysctl_display_all 589 580 -9 xopen_xwrite_close 44 33 -11 prs 30 18 -12 find_main 418 406 -12 full_write2_str 25 12 -13 adduser_main 667 654 -13 evaltreenr 817 802 -15 evaltree 817 802 -15 tftpd_main 526 493 -33 ftpd_main 2050 1990 -60 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 7/18 up/down: 117/-211) Total: -94 bytes
* modprobe: emit "can't open 'modules.dep': (errno)" instead of "module not found"Denis Vlasenko2009-03-031-1/+1
| | | | | | | | | | | | | | | | *: s/can't open %s/can't open '%s'/, it's better to use same string. function old new delta do_modprobe 588 601 +13 config_file_action 339 345 +6 modprobe_main 565 570 +5 unable_to_open 14 16 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 26/0) Total: 26 bytes text data bss dec hex filename 816800 476 7892 825168 c9750 busybox_old 816812 476 7892 825180 c975c busybox_unstripped
* top: make it work again on 2.4 kernels (closes bug 125)Denis Vlasenko2009-03-031-7/+6
|
* function old new deltaDenis Vlasenko2009-02-071-9/+48
| | | | | kill_main 706 884 +178
* sysctl: fix another corner case with "dots and slashes"Denis Vlasenko2009-01-081-2/+8
|
* sysctl: fix gcc warning (false positive)Denis Vlasenko2008-12-291-2/+3
|
* *: tweak error messagesDenis Vlasenko2008-12-241-141/+131
| | | | | | | | | | sysctl: shrink; support recursing if name is a directory: "sysctl net.ipv4.conf". Patch by xmaks AT email.cz text data bss dec hex filename 793659 504 7492 801655 c3b77 busybox_old 793576 504 7492 801572 c3b24 busybox_unstripped
* Fix forgotten license commentsDenis Vlasenko2008-12-072-9/+5
|
* remove a few superfluous includesDenis Vlasenko2008-11-251-1/+0
|
* ash,hush: add TODO for rare build failureDenis Vlasenko2008-11-251-2/+0
| | | | | *: remove some redundant includes
* *: code shrink by adding a wrapper around very common tcsetattr(0, TCSANOW, ↵Denis Vlasenko2008-11-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | xx) op function old new delta tcsetattr_stdin_TCSANOW - 14 +14 set_sane_term 116 113 -3 top_main 1277 1273 -4 make_new_session 421 415 -6 rawmode 133 126 -7 reset_term 18 10 -8 die 43 35 -8 cookmode 62 54 -8 vlock_main 425 415 -10 read_line_input 3165 3155 -10 bb_askpass 357 347 -10 fsck_minix_main 3079 3065 -14 getty_main 2375 2332 -43 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/12 up/down: 14/-131) Total: -117 bytes
* kill[all[5]]: accept -s SIG too. kill_main: +29 bytesDenis Vlasenko2008-10-311-3/+7
| | | | | by Steve Bennett (steveb AT workware.net.au)
* sysctl: sysctl -a was still misbehaving, fix itDenis Vlasenko2008-10-151-2/+6
|
* return accidentally deleted "/* vi: set sw=4 ts=4: */"Denis Vlasenko2008-10-151-0/+1
|
* sysctl: fix bug 3894 _for real_.Denis Vlasenko2008-10-151-7/+18
|
* sysctl: remove trivial comments. no code changesDenis Vlasenko2008-10-151-27/+12
|