diff options
author | Elliott Hughes <enh@google.com> | 2016-05-04 14:03:54 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2016-05-04 14:03:54 -0700 |
commit | 32caf1d80b689d7763a7cf853880987ccc24a479 (patch) | |
tree | 60901873ff6be927568b089aa598da122aeeed1f | |
parent | 8a414ededd8b48a07de5faac03cc473ce5a42735 (diff) | |
download | native-32caf1d80b689d7763a7cf853880987ccc24a479.tar.gz |
Switch to more conventional ps arguments in dumpstate.
I'll come back and remove the "toybox" once I've switched the symlink
from toolbox to toybox...
Change-Id: I00f848ab4dade8650726b054429a2926d3d72018
-rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index f10995df4f..6b8ca570b0 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -429,7 +429,8 @@ static void dumpstate() { dump_file("KERNEL CPUFREQ", "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state"); dump_file("KERNEL SYNC", "/d/sync"); - run_command("PROCESSES AND THREADS", 10, "ps", "-Z", "-t", "-p", "-P", NULL); + run_command("PROCESSES AND THREADS", 10, "toybox", "ps", "-A", "-T", "-Z", + "-O", "pri,nice,rtprio,sched,pcy", NULL); run_command("LIBRANK", 10, "librank", NULL); do_dmesg(); |