Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95261475 authored by Colin Cross's avatar Colin Cross Committed by Android Git Automerger
Browse files

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

* commit '5965ba30':
  dumpstate: add uptime to top of bugreports
parents 55923878 5965ba30
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);