From: Elliott Hughes Date: Wed, 13 Jul 2016 18:59:42 +0000 (-0700) Subject: Increase ps' default RSS and VSIZE widths. X-Git-Tag: android-x86-7.1-r1~6^2~4^2~37 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fexternal-toybox.git;a=commitdiff_plain;h=246ec0f311926f4b7f5f32532b03794e952c4e29 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! --- 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},