Descrip “top” command in Android
问题 I'm making a small Android application to show current total CPU usage like tab Performance in Windows Task Manager. I use "top -m 1 -n 1 -d 1" to get CPU usage, but i do not really understand the result of "top". The result like: User 5%, system 15%, IOW 0%, IRQ 0% User 5 + Nice 0 + Sys 14 + Idle 73 + IOW 0 + IRQ 0 + SIRQ 0 = 92 PID CPU% S #THR VSS RSS UID Name 213 11% R 1 900K 340K app_16 top CPU usage = ??? How can i calculated total CPU usage? 回答1: The accepted answer for this question is