【Android 逆向】Android 权限 ( 查看内存信息 | 查看 CPU 信息 | 查看电池信息 | 查看账户信息 | 查看 Activity 信息 | 查看 Package 信息 )(一)

文章目录

一、查看内存信息

二、查看 CPU 信息

三、查看电池信息

四、查看账户信息

五、查看 Activity 信息

六、查看 Package 信息





一、查看内存信息


查看系统内存详细信息 : 使用如下命令 , 可以查看内存的详细使用情况 ;


dumpsys meminfo


其中 ,


system 进程提交的内存交换数量最大 ,


Total PSS by process:
    304,156K: system (pid 1191)


Total PSS by OOM adjustment: 是 OOM 后台清理的内存量 ,


Total RAM 表示总内存量 , Free RAM 表示空余内存量 , Used RAM 表示使用的内存量 , Lost RAM 表示泄漏的内存量 ;


Total RAM: 3,744,240K (status normal)
 Free RAM: 1,285,614K (  818,070K cached pss +   353,176K cached kernel +   114,368K free)
 Used RAM: 2,706,028K (2,198,456K used pss +   507,572K kernel)
 Lost RAM:   123,886K


完整的命令行输出 :


walleye:/ # dumpsys meminfo
Applications Memory Usage (in Kilobytes):
Uptime: 270244457 Realtime: 474028365
Total PSS by process:
    304,156K: system (pid 1191)
    236,363K: com.android.systemui (pid 1654)
    229,904K: com.tencent.mm (pid 2667 / activities)
    147,062K: com.tencent.mobileqq (pid 29288 / activities)
    108,230K: com.wm.dmall (pid 14996)
     91,397K: com.tencent.android.qqdownloader:daemon (pid 3207 / activities)
...     
          0K: com.netease.cloudmusic (pid 30529)
          0K: com.netease.cloudmusic:cmMP1 (pid 30606)
          0K: com.netease.cloudmusic (pid 31817)
          0K: com.netease.cloudmusic:cmMP1 (pid 31920)
          0K: com.netease.cloudmusic (pid 32687)
Total PSS by OOM adjustment:
    284,639K: Native
         37,301K: surfaceflinger (pid 614)
         24,281K: android.hardware.camera.provider@2.4-service (pid 759)
         17,891K: netd (pid 723)
         17,506K: media.codec (pid 927)
          8,920K: audioserver (pid 829)
...
              0K: com.netease.cloudmusic:cmMP1 (pid 31920)
              0K: com.netease.cloudmusic (pid 32687)
    304,156K: System
        304,156K: system (pid 1191)
    295,744K: Persistent
        236,363K: com.android.systemui (pid 1654)
         26,857K: com.android.phone (pid 1924)
          8,273K: .dataservices (pid 1895)
          8,000K: com.android.nfc (pid 13614)
          5,064K: com.android.ims.rcsservice (pid 2871)
          4,290K: com.qualcomm.qti.telephonyservice (pid 1915)
          3,516K: com.google.SSRestartDetector (pid 2876)
          3,381K: com.android.se (pid 2848)
     10,009K: Persistent Service
         10,009K: com.android.bluetooth (pid 1628)
    147,062K: Foreground
        147,062K: com.tencent.mobileqq (pid 29288 / activities)
    403,106K: Visible
         68,835K: com.google.android.apps.nexuslauncher (pid 2990 / activities)
         67,096K: com.google.android.gms.persistent (pid 2150)
         61,566K: com.breel.wallpapers (pid 1814)
         50,636K: com.tencent.android.qqdownloader (pid 6743)
         31,826K: com.tencent.mobileqq:MSF (pid 29253)
         27,389K: com.google.android.googlequicksearchbox:interactor (pid 2817)
         23,050K: com.google.android.gms.unstable (pid 4260)
         22,838K: com.tencent.mobileqq:TMAssistantDownloadSDKService (pid 30012)
         16,210K: com.google.android.as (pid 3182)
         14,681K: com.tencent.android.qqdownloader:connect (pid 21119)
          9,342K: com.google.android.ext.services (pid 2024)
          5,718K: com.google.intelligence.sense (pid 3048)
          3,919K: com.qualcomm.qcrilmsgtunnel (pid 1775)
    277,676K: Perceptible
         64,618K: com.google.android.gms (pid 2558)
         64,319K: com.google.android.inputmethod.latin (pid 1645)
         35,722K: com.android.vending (pid 11796)
         33,803K: com.qihoo.appstore (pid 5951)
         25,711K: com.netease.cloudmusic:play (pid 23396)
         25,007K: com.qihoo.daemon (pid 5050)
         20,319K: com.google.android.apps.pixelmigrate (pid 3078)
          8,177K: com.qihoo360.accounts (pid 25331)
     62,641K: A Services
         39,711K: com.xunmeng.pinduoduo:titan (pid 15446)
         22,930K: com.netease.cloudmusic:browser (pid 28187)
    233,008K: Previous
        229,904K: com.tencent.mm (pid 2667 / activities)
          3,104K: com.android.chrome:sandboxed_process0 (pid 3213)
    180,415K: B Services
         91,397K: com.tencent.android.qqdownloader:daemon (pid 3207 / activities)
         19,629K: com.netease.cloudmusic:videoplay (pid 23391)
         19,219K: com.netease.cloudmusic:viewer (pid 23601)
         16,461K: com.tencent.android.qqdownloader:tools (pid 4022)
         11,359K: com.qihoo.appstore:docker (pid 28590)
          9,402K: com.google.android.ims (pid 27830)
          6,204K: com.google.android.connectivitymonitor (pid 28144)
          3,595K: com.google.modemservice (pid 28496)
          3,149K: com.android.chrome:sandboxed_process0 (pid 28339)
    818,070K: Cached
        108,230K: com.wm.dmall (pid 14996)
         90,539K: net.csdn.csdnplus (pid 16012)
         83,998K: com.google.android.apps.messaging (pid 31093 / activities)
         67,857K: com.autonavi.minimap (pid 15853)
         67,838K: com.wm.dmall:pushcore (pid 14924)
         60,156K: com.google.android.googlequicksearchbox:search (pid 14621)
         48,676K: com.google.android.youtube (pid 14757)
         48,006K: com.tencent.mm:push (pid 2873)
         42,104K: com.xunmeng.pinduoduo (pid 15568)
         38,936K: com.netease.cloudmusic:cmMP1 (pid 15643)
         30,591K: com.autonavi.minimap:locationservice (pid 13839)
         25,692K: com.netease.cloudmusic (pid 14019)
         23,193K: com.daojia.jz.app (pid 29202)
         19,905K: com.qidian.QDReader:pushcore (pid 16259)
         18,248K: net.csdn.csdnplus:io.dcloud.unimp (pid 14618)
         16,501K: net.csdn.csdnplus:pushcore (pid 14596)
          8,748K: com.google.android.tts (pid 20289)
          8,294K: android.process.media (pid 14578)
          5,923K: com.google.process.gservices (pid 14793)
          4,635K: com.android.chrome:sandboxed_process0 (pid 16038)
Total PSS by category:
    799,451K: Native
    410,758K: Dalvik
    287,769K: .art mmap
    269,362K: .dex mmap
    120,933K: .so mmap
    108,992K: GL mtrack
    105,020K: EGL mtrack
     99,692K: .apk mmap
     98,616K: Gfx dev
     85,347K: Unknown
     70,362K: Dalvik Other
     31,207K: .oat mmap
     11,013K: Other mmap
      3,264K: Stack
      1,711K: Ashmem
      1,678K: Other dev
        128K: .ttf mmap
          3K: .jar mmap
          0K: Cursor
          0K: Other mtrack
Total RAM: 3,744,240K (status normal)
 Free RAM: 1,285,614K (  818,070K cached pss +   353,176K cached kernel +   114,368K free)
 Used RAM: 2,706,028K (2,198,456K used pss +   507,572K kernel)
 Lost RAM:   123,886K
     ZRAM:   139,932K physical used for   524,284K in swap (  524,284K total swap)
   Tuning: 192 (large 512), oom   322,560K, restore limit   107,520K (high-end-gfx)
walleye:/ #



上一篇:如何允许外网可以连接mysql数据库


下一篇:Linux(四)文件权限