Alexander Shishkin
|
e766f62132
make find_pid_by_name look at /proc/PID/exe too
|
15 years ago |
Denys Vlasenko
|
fca70a8cce
ps: conditionally support additional -o FIELDs
|
15 years ago |
Denis Vlasenko
|
5e34ff29bc
*: mass renaming of USE_XXXX to IF_XXXX
|
15 years ago |
Denis Vlasenko
|
0c68a874e7
libbb: password/group function helpers rewritten by Tito:
|
16 years ago |
Denis Vlasenko
|
17e7f04c8d
top: optional SMP support by Vineet Gupta (vineetg76 AT gmail.com)
|
16 years ago |
Denis Vlasenko
|
27842288b3
libbb: make xrealloc_vector zero out the realloc'ed tail
|
16 years ago |
Denis Vlasenko
|
5415c856ea
libbb: [x]fopen_for_{read,write} introduced and used.
|
16 years ago |
Denis Vlasenko
|
3b3ca113ed
pidof/killall: allow find_pid_by_name to find running
|
16 years ago |
Denis Vlasenko
|
deeed59de0
libbb: introduce and use xrealloc_vector
|
16 years ago |
Denis Vlasenko
|
defc1ea340
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
|
16 years ago |
Denis Vlasenko
|
16afa38a7b
libbb: fix wrong sscanf count check (affects pidof etc)
|
16 years ago |
Denis Vlasenko
|
68404f13d4
*: add -Wunused-parameter; fix resulting breakage
|
16 years ago |
Denis Vlasenko
|
5fee2e1a79
ps: add conditional support for -o [e]time
|
17 years ago |
Denis Vlasenko
|
304a97a1ec
trivial typo fix
|
17 years ago |
Denis Vlasenko
|
72e1c89d97
pgrep,pkill: new applets by Loic Grenie <loic.grenie@gmail.com>
|
17 years ago |
Denis Vlasenko
|
1ebd0a6d91
remove if() which is always true
|
17 years ago |
Denis Vlasenko
|
ab8c9378c9
more "if (p) free(p)" fixes; fix a typo in comment
|
17 years ago |
Denis Vlasenko
|
ff6e8e2974
top: TOPMEM feature - 's(how sizes)' command. +2.5k when enabled,
|
17 years ago |
Denis Vlasenko
|
512499c8ca
ps: fix RSS parsing (rss field in /proc/PID/stat is in pages, not bytes)
|
17 years ago |
Denis Vlasenko
|
3734b946bf
bb_getpwuid, bb_getgrgid: change order of arguments to more intuitive one;
|
17 years ago |
Denis Vlasenko
|
2f6ae43b9c
stray trailing tabs removed
|
17 years ago |
Denis Vlasenko
|
49a128a156
remove accumulated stray trailing whitespace
|
17 years ago |
Denis Vlasenko
|
98ebab8b76
top,ps: improve /proc/PID/cmdinfo reading code
|
17 years ago |
Denis Vlasenko
|
f7d07b1723
killall, pidof: use argv0 for process matching too
|
17 years ago |
Denis Vlasenko
|
42ee26d00c
procps: shrink /proc scanning code a bit
|
17 years ago |
Denis Vlasenko
|
88976d00d8
remove extra ')'
|
17 years ago |
Denis Vlasenko
|
31789a81d5
top,ps: 'stringify' tty only when needed. -60 bytes.
|
17 years ago |
Denis Vlasenko
|
362c6ec694
top: speedup if tty info is not requested
|
17 years ago |
Denis Vlasenko
|
3afac4ce06
top,ps: reduce CPU usage in decimal conversion (optional)
|
17 years ago |
Denis Vlasenko
|
5a65447e30
top: add config option and code for global CPU % display
|
17 years ago |