aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-07-13 11:59:42 -0700
committerRob Landley <rob@landley.net>2016-07-13 17:43:55 -0500
commit246ec0f311926f4b7f5f32532b03794e952c4e29 (patch)
treee3f5f7e72c48f260ca66e6fecf57248a2e32a7d1 /toys
parent93e044c4a68d55266db108a24fb70d9de46eab14 (diff)
downloadtoybox-246ec0f311926f4b7f5f32532b03794e952c4e29.tar.gz
Increase ps' default RSS and VSIZE widths.
This is enough for everything on Android and everything except Java on my desktop. Even desktop Chrome fits!
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/ps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/posix/ps.c b/toys/posix/ps.c
index 72b56cb5..6a128bde 100644
--- a/toys/posix/ps.c
+++ b/toys/posix/ps.c
@@ -338,8 +338,8 @@ struct typography {
// Numbers
{"PID", 5, SLOT_pid}, {"PPID", 5, SLOT_ppid}, {"PRI", 3, SLOT_priority},
{"NI", 3, SLOT_nice}, {"ADDR", 4+sizeof(long), SLOT_eip},
- {"SZ", 5, SLOT_vsize}, {"RSS", 5, SLOT_rss}, {"PGID", 5, SLOT_pgrp},
- {"VSZ", 6, SLOT_vsize}, {"MAJFL", 6, SLOT_majflt}, {"MINFL", 6, SLOT_minflt},
+ {"SZ", 5, SLOT_vsize}, {"RSS", 6, SLOT_rss}, {"PGID", 5, SLOT_pgrp},
+ {"VSZ", 7, SLOT_vsize}, {"MAJFL", 6, SLOT_majflt}, {"MINFL", 6, SLOT_minflt},
{"PR", 2, SLOT_priority}, {"PSR", 3, SLOT_taskcpu},
{"RTPRIO", 6, SLOT_rtprio}, {"SCH", 3, SLOT_policy}, {"CPU", 3, SLOT_taskcpu},
{"TID", 5, SLOT_tid}, {"TCNT", 4, SLOT_tcount}, {"BIT", 3, SLOT_bits},