projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4652daa
)
top: truncate usernames to 8 chars
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 15 Jul 2007 17:07:58 +0000
(17:07 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 15 Jul 2007 17:07:58 +0000
(17:07 -0000)
procps/top.c
patch
|
blob
|
history
diff --git
a/procps/top.c
b/procps/top.c
index a37a0d07fb575014eb975a1881ccc84c82075617..cd55ea308f65e4c93751e297897623884ac7a07f 100644
(file)
--- a/
procps/top.c
+++ b/
procps/top.c
@@
-431,7
+431,7
@@
static void display_status(int count, int scr_width)
else
sprintf(vsz_str_buf, "%7ld", s->vsz);
// PID PPID USER STAT VSZ %MEM [%CPU] COMMAND
- col -= printf("\n" "%5u%6u %-8s %s%s" FMT
+ col -= printf("\n" "%5u%6u %-8
.8
s %s%s" FMT
#if ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE
FMT
#endif