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 |
Denis Vlasenko
|
0696b8aae8
ps: fix -Z (by Yuichi Nakamura <ynakam@hitachisoft.jp>)
|
17 years ago |
Denis Vlasenko
|
8581863a1b
procps: remove all global variables
|
17 years ago |
Denis Vlasenko
|
516a0ca2dc
ps: add -o tty and -o rss support
|
17 years ago |
Mike Frysinger
|
0aa6ba5d44
make sure ps/top output what they claim: vsz, not rss ... down the line we should make the output controllable either at runtime or buildtime as both statistics are quite useful
|
18 years ago |
Denis Vlasenko
|
2405ad659e
ls: use get_cached_username/groupname
|
18 years ago |
Denis Vlasenko
|
f7996f3b70
Trailing whitespace removal over entire tree
|
18 years ago |
Denis Vlasenko
|
d686a045c8
safe_strtoXX interface proved to be a bit unconvenient.
|
18 years ago |
Denis Vlasenko
|
d031ffa623
tar: sanitize option handling
|
18 years ago |
Denis Vlasenko
|
b8a8e601df
tar: small fixes:
|
18 years ago |
Denis Vlasenko
|
c50f370f98
tar: cache [ug]id->username/groupname mappings. Cuts down amount
|
18 years ago |
Denis Vlasenko
|
459e4d6cf7
replace /proc scanning code by more versatile one.
|
18 years ago |
Denis Vlasenko
|
fa07680091
top: improve CPU% calculation
|
18 years ago |
Denis Vlasenko
|
dd539f7687
Unneeded code removed, usused field "unsigned pscpu" removed
|
18 years ago |
Denis Vlasenko
|
35fb512728
PID should be stored in pid_t, not int or long.
|
18 years ago |