[Toybox] [PATCH] ps/top: auto-size the PID/PPID fields.

enh enh at google.com
Sat Feb 22 15:16:52 PST 2020


While most Android devices still have low pid_max values, my laptop and
desktop are using ever higher values. Auto-size the PID and PPID fields
based on the system's current configuration rather than hard-coding
values.
---
 toys/posix/ps.c | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ps-top-auto-size-the-PID-PPID-fields.patch
Type: text/x-patch
Size: 3091 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200222/352553e9/attachment-0002.bin>


More information about the Toybox mailing list