am 5965ba30: dumpstate: add uptime to top of bugreports

* commit '5965ba30d3ac8f9504681ac2e7ea8ac84aa0c5a7':
  dumpstate: add uptime to top of bugreports
This commit is contained in:
Colin Cross
2011-09-20 17:21:27 -07:00
committed by Android Git Automerger

View File

@@ -72,6 +72,7 @@ static void dumpstate() {
printf("Command line: %s\n", strtok(cmdline_buf, "\n"));
printf("\n");
run_command("UPTIME", 10, "uptime", NULL);
dump_file("MEMORY INFO", "/proc/meminfo");
run_command("CPU INFO", 10, "top", "-n", "1", "-d", "1", "-m", "30", "-t", NULL);
run_command("PROCRANK", 20, "procrank", NULL);