dumpsys cpuinfo

------ DUMPSYS CPUINFO (/system/bin/dumpsys -t 10 cpuinfo -a) ------
Load: 4.53 / 3.7 / 3.43
CPU usage from 24658ms to 692ms ago (2018-03-16 09:19:42.228 to 2018-03-16 09:20:06.194):
  31% 11387/system_server: 18% user + 13% kernel / faults: 30112 minor 30 major
  0% 11821/com.android.settings: 0% user + 0% kernel / faults: 28606 minor 13 major
  5.4% 11645/com.android.systemui: 3.8% user + 1.5% kernel / faults: 8902 minor
  5.2% 783/surfaceflinger: 2.9% user + 2.3% kernel / faults: 119 minor
...
 +0% 5466/kworker/7:2: 0% user + 0% kernel
 +0% 5482/dumpsys: 0% user + 0% kernel
 +0% 5525/kworker/7:3: 0% user + 0% kernel
 +0% 5562/sleep: 0% user + 0% kernel
13% TOTAL: 8.1% user + 4.5% kernel + 0.2% iowait + 0.1% softirq
------ 0.039s was the duration of 'DUMPSYS CPUINFO' ------

Load: 负载

其他信息

  31% 11387/system_server: 18% user + 13% kernel / faults: 30112 minor 30 major
  1. ##### 第一个字符:“+”, “-”, “ ”.
    "+":
    "-":
    " ":
  2. ##### 百分比:
    user+system+iowait+irq+softIrq / totalTime
  3. ##### pid
  4. ##### name
  5. ##### %u
  6. ##### %sys
  7. ##### %iowait if iowait > 0
  8. ##### %irq if irq > 0
  9. ##### %softirq if softirq > 0
  10. ##### minFaults,majorFaults.

minFaults:

发生minFaults的次数,指引发page_fault,但是不需要发起磁盘io操作

majorFaults

指引发page_fault,并且需要发起磁盘io操作

发表评论

电子邮件地址不会被公开。 必填项已用*标注