Denis Vlasenko
|
fc1e9951c6
vsz and rss are unsigned longs (ulong ~= width of void* =>
|
17 år sedan |
Denis Vlasenko
|
fe7cd642b0
don't pass argc in getopt32, it's superfluous
|
17 år sedan |
Denis Vlasenko
|
f893da875a
ls,ps,watch: measure terminal width on fd 0, not 1
|
17 år sedan |
Denis Vlasenko
|
7ce7594fa3
ps: fix non-desktop ps -ww -- thanks rockeychu
|
17 år sedan |
Denis Vlasenko
|
aba7f49a22
ps: revert wrong "optimization": (i & 1) -> i
|
17 år sedan |
Denis Vlasenko
|
dc7a5eae36
ps: fix "unused variable" warning; fix integer variable declared as char.
|
17 år sedan |
Denis Vlasenko
|
98ebab8b76
top,ps: improve /proc/PID/cmdinfo reading code
|
17 år sedan |
Denis Vlasenko
|
80b8b39899
Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms <wharms@bfs.de>)
|
17 år sedan |
Denis Vlasenko
|
31789a81d5
top,ps: 'stringify' tty only when needed. -60 bytes.
|
17 år sedan |
Denis Vlasenko
|
0696b8aae8
ps: fix -Z (by Yuichi Nakamura <ynakam@hitachisoft.jp>)
|
17 år sedan |
Denis Vlasenko
|
b6adbf1be2
usage.c: remove reference to busybox.h
|
17 år sedan |
Denis Vlasenko
|
dcf4de20a1
test: code size saving, no logic changes
|
17 år sedan |
Denis Vlasenko
|
8581863a1b
procps: remove all global variables
|
17 år sedan |
Denis Vlasenko
|
516a0ca2dc
ps: add -o tty and -o rss support
|
17 år sedan |
Denis Vlasenko
|
8d9f495d68
getopt32: fix llist_t options ordering. llist_rev is not unused.
|
17 år sedan |
Denis Vlasenko
|
450196c119
ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer)
|
17 år sedan |
Bernhard Reutner-Fischer
|
26a8016da6
- change option -c to -Z to match newer upstream SElinux conventions
|
17 år sedan |
Denis Vlasenko
|
54cf511ce1
sort: fix multiple -k (was ignoring all except last)
|
18 år sedan |
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 år sedan |
Denis Vlasenko
|
06af216528
suppress warnings about easch <applet>_main() having
|
18 år sedan |
Denis Vlasenko
|
769d1e05e6
fix warning from needlessly-global functions
|
18 år sedan |
Denis Vlasenko
|
6dca70a049
ps: fix buglet, add microoptimization
|
18 år sedan |
Denis Vlasenko
|
402151671b
ps: add documentation on POSIX ps
|
18 år sedan |
Denis Vlasenko
|
9494919ea5
ps: implement POSIX-like options, most notably -o
|
18 år sedan |
Denis Vlasenko
|
459e4d6cf7
replace /proc scanning code by more versatile one.
|
18 år sedan |
Denis Vlasenko
|
fa07680091
top: improve CPU% calculation
|
18 år sedan |
Denis Vlasenko
|
dd539f7687
Unneeded code removed, usused field "unsigned pscpu" removed
|
18 år sedan |
Denis Vlasenko
|
9225854144
mostly style fixes
|
18 år sedan |
Denis Vlasenko
|
35fb512728
PID should be stored in pid_t, not int or long.
|
18 år sedan |
Denis Vlasenko
|
d3ada32285
ps: reduce #ifdef forest
|
18 år sedan |