poniedziałek, 12 sierpnia 2013

adb monitoring commands

1. adb shell dumpsys battery

root@ubu:~# adb shell dumpsys battery
Current Battery Service state:
  AC powered: false
  USB powered: true
  Wireless powered: false
  status: 2
  health: 2
  present: true
  level: 83
  scale: 100
  voltage:4193
  temperature: 297
  technology: Li-ion


2. adb shell dumpsys wifi - to wide to publicate :)

3. adb shell dumpsys cpuinfo
root@ubu:~# adb shell dumpsys cpuinfo
Load: 0.69 / 0.35 / 0.52
CPU usage from 9881ms to 2399ms ago with 99% awake:
  1.6% 523/system_server: 0.6% user + 0.9% kernel / faults: 53 minor
  0.4% 29973/com.android.providers.calendar: 0.4% user + 0% kernel / faults: 12 minor
  0.2% 183/mpdecision: 0% user + 0.2% kernel
  0.2% 1511/com.google.android.calendar: 0.2% user + 0% kernel / faults: 11 minor
  0% 152/jbd2/mmcblk0p23: 0% user + 0% kernel
  0% 634/com.android.systemui: 0% user + 0% kernel
  0.1% 7488/kworker/0:3: 0% user + 0.1% kernel
  0% 28295/kworker/0:5: 0% user + 0% kernel
  0% 32376/kworker/0:1: 0% user + 0% kernel
2.8% TOTAL: 1.6% user + 0.8% kernel + 0.4% iowait


4. adb shell dumpsys meminfo


root@ubu:~# adb shell dumpsys cpuinfo
Load: 0.69 / 0.35 / 0.52
CPU usage from 9881ms to 2399ms ago with 99% awake:
  1.6% 523/system_server: 0.6% user + 0.9% kernel / faults: 53 minor
  0.4% 29973/com.android.providers.calendar: 0.4% user + 0% kernel / faults: 12 minor
  0.2% 183/mpdecision: 0% user + 0.2% kernel
  0.2% 1511/com.google.android.calendar: 0.2% user + 0% kernel / faults: 11 minor
  0% 152/jbd2/mmcblk0p23: 0% user + 0% kernel
  0% 634/com.android.systemui: 0% user + 0% kernel
  0.1% 7488/kworker/0:3: 0% user + 0.1% kernel
  0% 28295/kworker/0:5: 0% user + 0% kernel
  0% 32376/kworker/0:1: 0% user + 0% kernel
2.8% TOTAL: 1.6% user + 0.8% kernel + 0.4% iowait
root@ubu:~#
root@ubu:~#
root@ubu:~#
root@ubu:~#
root@ubu:~# adb shell dumpsys meminfo
Applications Memory Usage (kB):
Uptime: 37179113 Realtime: 88324695

Total PSS by process:
    86097 kB: com.android.chrome (pid 4767)
    67054 kB: system (pid 523)
    44244 kB: com.android.launcher (pid 800)
    44235 kB: com.android.systemui (pid 634)
    36618 kB: com.facebook.katana (pid 30545)
    31162 kB: com.google.android.googlequicksearchbox (pid 5048)
    27171 kB: com.android.chrome:sandboxed_process3 (pid 12512)
    25688 kB: com.facebook.orca (pid 27691)
    22199 kB: com.google.android.inputmethod.latin (pid 719)
    19538 kB: com.google.android.apps.plus (pid 5355)
    19059 kB: com.android.phone (pid 774)
    17500 kB: com.android.dialer (pid 17592)
    16791 kB: com.facebook.katana:dash (pid 8465)
    12976 kB: com.google.android.gms (pid 2245)
    12791 kB: com.google.process.location (pid 757)
    12684 kB: com.google.process.gapps (pid 844)
    12185 kB: com.twitter.android (pid 8198)
    11349 kB: com.google.android.talk (pid 6276)
    10067 kB: android.process.acore (pid 15669)
     8282 kB: com.google.android.youtube (pid 8099)
     7782 kB: com.google.android.music:main (pid 7629)
     7755 kB: com.sand.airdroid:push (pid 827)
     7555 kB: com.android.vending (pid 8302)
     7066 kB: com.google.android.gallery3d (pid 6834)
     6916 kB: com.google.android.calendar (pid 1511)
     5884 kB: android.process.media (pid 2703)
     5597 kB: com.android.mms (pid 8075)
     5068 kB: com.android.providers.calendar (pid 29973)
     4831 kB: com.android.nfc (pid 785)
     3740 kB: com.google.android.apps.uploader (pid 8062)
     3401 kB: com.google.android.deskclock (pid 8420)
     3145 kB: dev.ukanth.ufirewall (pid 8184)
     2843 kB: com.android.nfc:handover (pid 862)

Total PSS by OOM adjustment:
    67054 kB: System
               67054 kB: system (pid 523)
    68125 kB: Persistent
               44235 kB: com.android.systemui (pid 634)
               19059 kB: com.android.phone (pid 774)
                4831 kB: com.android.nfc (pid 785)
    61035 kB: Foreground
               44244 kB: com.android.launcher (pid 800)
               16791 kB: com.facebook.katana:dash (pid 8465)
    38385 kB: Visible
               12791 kB: com.google.process.location (pid 757)
               12684 kB: com.google.process.gapps (pid 844)
               10067 kB: android.process.acore (pid 15669)
                2843 kB: com.android.nfc:handover (pid 862)
    22199 kB: Perceptible
               22199 kB: com.google.android.inputmethod.latin (pid 719)
    20731 kB: A Services
               12976 kB: com.google.android.gms (pid 2245)
                7755 kB: com.sand.airdroid:push (pid 827)
    17500 kB: Previous
               17500 kB: com.android.dialer (pid 17592)
     7782 kB: B Services
                7782 kB: com.google.android.music:main (pid 7629)
   306462 kB: Background
               86097 kB: com.android.chrome (pid 4767)
               36618 kB: com.facebook.katana (pid 30545)
               31162 kB: com.google.android.googlequicksearchbox (pid 5048)
               27171 kB: com.android.chrome:sandboxed_process3 (pid 12512)
               25688 kB: com.facebook.orca (pid 27691)
               19538 kB: com.google.android.apps.plus (pid 5355)
               12185 kB: com.twitter.android (pid 8198)
               11349 kB: com.google.android.talk (pid 6276)
                8282 kB: com.google.android.youtube (pid 8099)
                7555 kB: com.android.vending (pid 8302)
                7066 kB: com.google.android.gallery3d (pid 6834)
                6916 kB: com.google.android.calendar (pid 1511)
                5884 kB: android.process.media (pid 2703)
                5597 kB: com.android.mms (pid 8075)
                5068 kB: com.android.providers.calendar (pid 29973)
                3740 kB: com.google.android.apps.uploader (pid 8062)
                3401 kB: com.google.android.deskclock (pid 8420)
                3145 kB: dev.ukanth.ufirewall (pid 8184)

Total PSS by category:
   254338 kB: Dalvik
   157642 kB: Unknown
    72263 kB: .dex mmap
    58141 kB: .so mmap
    37848 kB: Other dev
    19339 kB: .apk mmap
     6190 kB: Stack
     2865 kB: Other mmap
      431 kB: .ttf mmap
      122 kB: .jar mmap
       92 kB: Cursor
        2 kB: Ashmem
        0 kB: Native

Total PSS: 609273 kB
      KSM: 0 kB saved from shared 0 kB
           0 kB unshared; 0 kB volatile



5. adb shell dumpsys activity - to looong


Brak komentarzy:

Prześlij komentarz