summaryrefslogtreecommitdiff
path: root/procps (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/master'Nguyễn Thái Ngọc Duy2011-01-049-97/+514
|\
| * nmeter: deprecate %NNNd specified, use -d MSEC insteadDenys Vlasenko2010-12-133-12/+45
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * procps/Config.src: Add pstree to FEATURE_THREADS deps. Slight text editLauri Kasanen2010-12-131-3/+4
| | | | | | | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * pstree: use stdin for screen size detectionDenys Vlasenko2010-12-061-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * pstree: another tiny shrinkDenys Vlasenko2010-12-051-14/+6
| | | | | | | | | | | | | | function old new delta pstree_main 327 324 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * pstree: tiny shrinkDenys Vlasenko2010-12-051-2/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * pstree: fix width logic. +30 bytesLauri Kasanen2010-12-051-28/+26
| | | | | | | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * pstree: new applet. +1664 bytesLauri Kasanen2010-12-051-0/+415
| | | | | | | | | | | | | | | | | | text data bss dec hex filename 883379 936 17192 901507 dc183 busybox_old 885043 936 17192 903171 dc803 busybox_unstripped Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * powertop: code shrinkMaksym Kryzhanovskyy2010-11-061-12/+13
| | | | | | | | | | | | | | | | function old new delta process_timer_stats 490 449 -41 Signed-off-by: Maksym Kryzhanovskyy <xmaks@email.cz> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * powertop: fix last line detection in process_timer_stats()Denys Vlasenko2010-11-041-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * powertop: replace erroneous \n with \0; make numberic conversion more robustDenys Vlasenko2010-11-041-7/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * powertop: code shrinkMaksym Kryzhanovskyy2010-11-041-57/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta read_cstate_counts 355 360 +5 print_intel_cstates 494 499 +5 process_timer_stats 554 480 -74 process_irq_counts 765 530 -235 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/2 up/down: 10/-309) Total: -299 bytes Signed-off-by: Maksym Kryzhanovskyy <xmaks@email.cz> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rename archival/libunarchive -> archival/libarchive; move bz/ into itDenys Vlasenko2010-11-031-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * powertop: build fix for !386 compilesDenys Vlasenko2010-10-291-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * whitespace cleanupDenys Vlasenko2010-10-293-13/+13
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d'Nguyễn Thái Ngọc Duy2011-01-042-11/+13
|\| | | | | | | | | Conflicts: libbb/make_directory.c
| * *: whitespace fixesDenys Vlasenko2010-10-282-11/+13
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d^'Nguyễn Thái Ngọc Duy2011-01-042-1/+882
|\|
| * top: Use _exit() instead of exit() in sighandlerMarek Polacek2010-10-271-1/+2
| | | | | | | | | | Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixDenys Vlasenko2010-10-271-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * powertop: simplified C-state display codeDenys Vlasenko2010-10-261-14/+7
| | | | | | | | | | | | | | | | function old new delta .rodata 145530 145514 -16 powertop_main 1510 1403 -107 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * powertop: IPIs and hw irqs were swapped, fixingDenys Vlasenko2010-10-261-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * powertop: fixes to output format and code shrinkDenys Vlasenko2010-10-261-161/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta process_timer_stats - 631 +631 clear_lines 72 74 +2 process_irq_counts 729 726 -3 .rodata 145699 145530 -169 powertop_main 2341 1510 -831 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 1/2 up/down: 1359/-1729) Total: -370 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * powertop: code shrinkDenys Vlasenko2010-10-261-192/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta process_irq_count_deltas - 729 +729 read_cstate_counts - 358 +358 save_line - 150 +150 clear_lines 80 72 -8 line_compare 18 7 -11 .rodata 145736 145699 -37 powertop_main 2527 2341 -186 push_line 193 - -193 read_data 348 - -348 do_proc_irq 890 - -890 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 0/4 up/down: 1237/-1673) Total: -436 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * powertop: new appletMarek Polacek2010-10-251-0/+886
| | | | | | | | | | Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '6722737ece4b8db3e30b53aef8f981f53db1621e^'Nguyễn Thái Ngọc Duy2011-01-042-2/+5
|\|
| * smemcap: close /proc handle upon cleaning upAlexander Shishkin2010-10-221-0/+3
| | | | | | | | | | Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * pmap: get rid of a warningDenys Vlasenko2010-10-221-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit '06f719fd79fe15ce6fd5431bc58fcb22851de24d^'Nguyễn Thái Ngọc Duy2011-01-041-42/+56
|\|
| * free: add -b/k/m/g options; remove 4 TB limitation. +100 bytesDenys Vlasenko2010-10-011-42/+56
| | | | | | | | | | | | Based on patch by Stefan Tomanek (stefan@pico.ruhr.de) Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | win32: enable kill and killallNguyễn Thái Ngọc Duy2010-09-151-0/+2
| |
* | win32: enable psNguyễn Thái Ngọc Duy2010-09-151-0/+10
|/ | | | Due to limitations in procps_scan(), only -o pid,comm is supported
* smemcap: use correct tar magicDenys Vlasenko2010-09-121-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove redundant ENABLE_DESKTOP in procps/ps.cCristian Ionescu-Idbohrn2010-09-051-8/+0
| | | | | Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* nandwrite: complain on malformed -s NUMDenys Vlasenko2010-08-292-3/+3
| | | | | | Elsewhere: use common error message. -30 bytes net size change Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pmap: new applet. +1k.Alexander Shishkin2010-08-282-8/+119
| | | | | | | | | | | | | | | | | | | pmap is a tool used to look at processes' memory maps, normally found in procps package. It provides more readable and easily sortable output (one line per mapping) from maps/smaps files in /proc/PID/. This would help in debugging memory usage issues, especially on devices where lots of typing is not a viable option. This patch does'n implement -d and -A command line options of GNU pmap, since those are not that must have features and I was afraid of going blind from looking at its code. The implementation takes smaps scanning part out of procps_scan() function and moves it into procps_read_smaps(), which does more detailed processing of a single PID's smaps data. Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Rename a struct member from "interrupt"Dan Fandrich2010-08-241-5/+5
| | | | | | | This is nonstandard, but common, keyword in embedded compilers. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nmeter: fix misplaced closing commentDenys Vlasenko2010-08-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-1615-19/+20
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: fix "see file License ..." - the file is named LICENSE (in uppercase)Denys Vlasenko2010-08-162-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: factor out common code from mpstat/iostatDenys Vlasenko2010-08-162-66/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* iostat: add forgotted fclose(); fix default count.Denys Vlasenko2010-08-121-4/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_iDenys Vlasenko2010-08-123-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* free: more compatible output. +16 bytes. Closes bug 2383.Denys Vlasenko2010-08-121-8/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* iostat: new applet. 2800 bytesMarek Polacek2010-08-111-0/+615
| | | | | Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: do not use /sys to get number of CPUs. /proc should be ok.Marek Polacek2010-07-301-48/+1
| | | | | | | | | | | | function old new delta get_cpu_nr - 137 +137 mpstat_main 1140 1131 -9 get_proc_cpu_nr 137 - -137 get_sys_cpu_nr 178 - -178 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 0/1 up/down: 137/-324) Total: -187 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: better fix for IRQ countsDenys Vlasenko2010-07-301-19/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: fix total par-cpu IRQ countsDenys Vlasenko2010-07-301-10/+33
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: fix/improve handling of interrupt namesDenys Vlasenko2010-07-301-10/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: small code shrinkMaksym Kryzhanovskyy2010-07-301-9/+7
| | | | | Signed-off-by: Maksym Kryzhanovskyy <xmaks@email.cz> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>