From 86cef660e4a5a2d9e764486bc62c37a1c75fac6d Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sat, 7 Nov 2015 10:32:13 -0800 Subject: On Android, ps' default output should match toolbox. --- toys/posix/ps.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toys') diff --git a/toys/posix/ps.c b/toys/posix/ps.c index 1e9b54c5..f3ff39bf 100644 --- a/toys/posix/ps.c +++ b/toys/posix/ps.c @@ -630,6 +630,8 @@ void ps_main(void) al.arg = "USER:8=UID,PID,PPID,C,STIME,TTY,TIME,CMD"; else if (toys.optflags&FLAG_l) al.arg = "F,S,UID,PID,PPID,C,PRI,NI,ADDR,SZ,WCHAN,TTY,TIME,CMD"; + else if (CFG_TOYBOX_ON_ANDROID) + al.arg = "USER,PID,PPID,VSIZE,RSS,WCHAN:10,ADDR:10=PC,S,CMDLINE"; else al.arg = "PID,TTY,TIME,CMD"; comma_args(&al, 0, parse_o); -- cgit v1.2.3