Bernhard Reutner-Fischer
|
8c69afd992
- be C99 friendly. Anonymous unions are a GNU extension. This change is
|
17 年之前 |
Denis Vlasenko
|
56ea65ca5f
ps: fix overflow in USER and VSZ columns
|
17 年之前 |
Denis Vlasenko
|
fcfb5c04bb
defconfig: update
|
17 年之前 |
Denis Vlasenko
|
5576136563
fixes revealed by randomconfig run
|
17 年之前 |
Denis Vlasenko
|
9b49a5ed85
add -fvisibility=hidden to CC flags, mark XXX_main functions
|
17 年之前 |
Denis Vlasenko
|
4daad9004d
introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
|
17 年之前 |
Denis Vlasenko
|
5d61e71c3a
introduce safe_poll (fixes a problem in top)
|
17 年之前 |
Denis Vlasenko
|
4d7605af86
top: small fix for command line wrapping
|
17 年之前 |
Denis Vlasenko
|
4c1d88daff
top: get rid of on-stack variable buffers, use permanent one.
|
17 年之前 |
Denis Vlasenko
|
e7c1ad1540
top: add sizeof(G) check; fix style
|
17 年之前 |
Denis Vlasenko
|
ff6e8e2974
top: TOPMEM feature - 's(how sizes)' command. +2.5k when enabled,
|
17 年之前 |
Denis Vlasenko
|
05241802a7
top: another readability fix
|
17 年之前 |
Denis Vlasenko
|
8bdba4d011
top: don't wait before final bailout (try top -b -n1).
|
17 年之前 |
Denis Vlasenko
|
b308d81e92
top: use poll instead of select for waiting on one descriptor
|
17 年之前 |
Denis Vlasenko
|
6ee023cf62
*: compile fixes for 64-bit build
|
17 年之前 |
Denis Vlasenko
|
fe7cd642b0
don't pass argc in getopt32, it's superfluous
|
17 年之前 |
Denis Vlasenko
|
856be770a6
assorted fixes for breakage found by randomconfig
|
17 年之前 |
Denis Vlasenko
|
110967a6f7
top: nested function allows us to reuse some code
|
17 年之前 |
Denis Vlasenko
|
24c5fbaf42
top: make "100%" case less ugly, and shrink code while at it
|
17 年之前 |
Denis Vlasenko
|
c1166c3a8c
top: simpler loadavg processing
|
17 年之前 |
Denis Vlasenko
|
9109fbeaa1
top: truncate usernames to 8 chars
|
17 年之前 |
Denis Vlasenko
|
98ebab8b76
top,ps: improve /proc/PID/cmdinfo reading code
|
17 年之前 |
Denis Vlasenko
|
f7d07b1723
killall, pidof: use argv0 for process matching too
|
17 年之前 |
Denis Vlasenko
|
745119605e
top: on user suggestion make percentile calculations configurable. -56 bytes when off. +600 bytes when on
|
17 年之前 |
Denis Vlasenko
|
b1e5addfed
top: improve global CPU percentage (smaller & faster code)
|
17 年之前 |
Denis Vlasenko
|
5a65447e30
top: add config option and code for global CPU % display
|
17 年之前 |
Denis Vlasenko
|
b6adbf1be2
usage.c: remove reference to busybox.h
|
17 年之前 |
Denis Vlasenko
|
8581863a1b
procps: remove all global variables
|
17 年之前 |
Denis Vlasenko
|
ac678ec2f1
style fixes, no code changes
|
17 年之前 |
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 年之前 |