二、查看 CPU 信息
使用如下命令 , 查看 CPU 信息 : 输出具体的每个运行中的应用占用 CPU 的时间片的比重 ;
dumpsys cpuinfo
完整的命令行输出 :
walleye:/ # dumpsys cpuinfo Load: 4.91 / 4.95 / 5.09 CPU usage from 329372ms to 29238ms ago (2021-10-23 20:35:54.407 to 2021-10-23 20:40:54.540): 23% 3207/com.tencent.android.qqdownloader:daemon: 21% user + 1.2% kernel / faults: 209200 minor 3 major 15% 1814/com.breel.wallpapers: 12% user + 2.5% kernel / faults: 354 minor 9.5% 1191/system_server: 6.5% user + 3% kernel / faults: 31370 minor 13 major 8.5% 614/surfaceflinger: 5.8% user + 2.6% kernel / faults: 237 minor 5.2% 787/android.hardware.sensors@1.0-service: 1.5% user + 3.7% kernel / faults: 101 minor 4.4% 1654/com.android.systemui: 4% user + 0.3% kernel / faults: 25776 minor 5 major 4.3% 14996/com.wm.dmall: 3.9% user + 0.4% kernel / faults: 20331 minor 11 major 4% 6743/com.tencent.android.qqdownloader: 3.5% user + 0.4% kernel / faults: 22845 minor 19 major 3.9% 616/android.hardware.graphics.composer@2.1-service: 1% user + 2.8% kernel / faults: 125 minor 3.5% 29288/com.tencent.mobileqq: 3% user + 0.4% kernel / faults: 34917 minor 88 major 2.2% 16540/mdss_fb0: 0% user + 2.2% kernel ... +0% 17450/kworker/4:3: 0% user + 0% kernel +0% 17517/kworker/2:1: 0% user + 0% kernel 14% TOTAL: 9.7% user + 3.9% kernel + 0.1% iowait + 0.5% irq + 0.3% softirq walleye:/ #
三、查看电池信息
使用如下命令 , 查看 电池 信息 : 输出电量相关信息 ;
dumpsys battary
完整的命令行输出 : 当前的环境无法输出电量使用信息 ;
四、查看账户信息
使用如下命令 , 查看 账户 信息 : 输出当前系统账户相关信息 ;
dumpsys account
完整的命令行输出 :
walleye:/ # dumpsys account User UserInfo{0:机主:13}: Accounts: 7 Account {name= , type=com.eg.android.AlipayGphone.perf} Account {name=Account, type=com.example.android.basicsyncadapter.account} Account {name=拼多多, type=com.xunmeng.pinduoduo.account_type} Account {name=拼多多-同步, type=com.xunmeng.pinduoduo.tide_account_type} Account {name=应用宝, type=com.tencent.android.qqdownloader.YYBLiveAccountProvider.account} Account {name=WPS Office, type=cn.wps.moffice} Account {name=qianyinhulian@gmail.com, type=com.google} AccountId, Action_Type, timestamp, UID, TableName, Key Accounts History -1,action_called_account_remove,2021-02-14 12:39:43,10020,accounts,28 -1,action_called_account_remove,2021-02-22 06:56:40,10020,accounts,29 -1,action_called_account_add,2021-02-27 16:27:23,1000,accounts,30 -1,action_called_account_remove,2021-03-02 22:07:40,10020,accounts,31 -1,action_called_account_add,2021-03-06 17:06:59,10062,accounts,32 -1,action_called_account_remove,2021-03-09 17:42:25,10020,accounts,33 -1,action_called_account_remove,2021-03-15 23:13:42,10020,accounts,34 1,action_account_add,2021-03-16 08:54:02,10294,accounts,35 -1,action_called_account_add,2021-03-16 10:43:19,10062,accounts,36 -1,action_called_account_remove,2021-03-23 04:12:47,10020,accounts,37 -1,action_called_account_remove,2021-03-28 14:13:56,10020,accounts,38 -1,action_called_account_remove,2021-03-29 11:08:47,10020,accounts,39 -1,action_called_account_remove,2021-04-05 15:22:47,10020,accounts,40 -1,action_called_account_add,2021-04-10 09:17:19,0,accounts,41 -1,action_called_account_add,2021-04-10 09:17:28,0,accounts,42 2,action_account_add,2021-04-10 09:17:30,10295,accounts,43 2,action_called_account_remove,2021-04-10 09:17:43,1000,accounts,44 2,action_account_remove,2021-04-10 09:17:43,10295,accounts,45 -1,action_called_account_add,2021-04-10 10:47:05,0,accounts,46 3,action_account_add,2021-04-10 13:26:56,10362,accounts,47 4,action_account_add,2021-04-10 20:35:57,10363,accounts,48 3,action_authenticator_remove,2021-04-11 14:13:16,1000,accounts,49 -1,action_called_account_remove,2021-04-11 16:25:00,10020,accounts,50 -1,action_called_account_remove,2021-04-18 09:39:21,10020,accounts,51 -1,action_called_account_remove,2021-04-24 20:33:40,10020,accounts,52 -1,action_called_account_remove,2021-05-01 17:27:52,10020,accounts,53 -1,action_called_account_remove,2021-05-09 14:09:54,10020,accounts,54 5,action_account_add,2021-05-12 11:40:02,10470,accounts,55 6,action_account_add,2021-05-12 11:40:04,10470,accounts,56 -1,action_called_account_remove,2021-05-18 00:54:51,10020,accounts,57 -1,action_called_account_remove,2021-05-24 13:12:11,10020,accounts,58 -1,action_called_account_remove,2021-06-01 22:07:09,10020,accounts,59 7,action_account_add,2021-06-02 13:09:03,10522,accounts,60 -1,action_called_account_add,2021-06-02 18:03:32,10128,accounts,61 -1,action_called_account_add,2021-06-02 18:43:32,10062,accounts,62 -1,action_called_account_remove,2021-06-05 10:50:24,10020,accounts,63 -1,action_called_account_remove,2021-06-05 15:44:54,10020,accounts,0 -1,action_called_account_remove,2021-06-13 09:22:00,10020,accounts,1 -1,action_called_account_remove,2021-06-20 11:49:45,10020,accounts,2 -1,action_called_account_remove,2021-06-28 04:44:48,10020,accounts,3 -1,action_called_account_remove,2021-06-29 17:41:49,10020,accounts,4 -1,action_called_account_remove,2021-06-30 13:54:33,10020,accounts,5 -1,action_called_account_remove,2021-07-06 20:30:29,10020,accounts,6 -1,action_called_account_remove,2021-07-08 09:20:47,10020,accounts,7 8,action_account_add,2021-07-10 13:17:34,10590,accounts,8 -1,action_called_account_remove,2021-07-10 16:48:59,10020,accounts,9 -1,action_called_account_remove,2021-07-11 12:16:16,10020,accounts,10 -1,action_called_account_remove,2021-07-11 17:38:56,10020,accounts,11 -1,action_called_account_remove,2021-07-20 08:21:55,10020,accounts,12 -1,action_called_account_remove,2021-07-28 19:03:00,10020,accounts,13 -1,action_called_account_add,2021-07-31 15:15:53,10128,accounts,14 -1,action_called_account_remove,2021-08-05 23:24:44,10020,accounts,15 -1,action_called_account_remove,2021-08-06 14:52:17,10020,accounts,16 -1,action_called_account_add,2021-08-09 10:12:45,10062,accounts,17 -1,action_called_account_add,2021-08-09 10:13:21,10062,accounts,18 -1,action_called_account_add,2021-08-09 10:13:31,10062,accounts,19 9,action_account_add,2021-08-09 10:14:21,10020,accounts,20 9,action_set_password,2021-08-09 10:14:21,10020,accounts,21 -1,action_called_account_remove,2021-08-09 10:14:29,10020,accounts,22 10,action_account_add,2021-10-07 09:05:06,10295,accounts,23 10,action_called_account_remove,2021-10-09 19:57:59,10295,accounts,24 10,action_account_remove,2021-10-09 19:58:01,10295,accounts,25 11,action_account_add,2021-10-09 21:42:50,10295,accounts,26 11,action_account_remove,2021-10-14 19:43:23,10295,accounts,27 Active Sessions: 0 RegisteredServicesCache: 14 services ServiceInfo: AuthenticatorDescription {type=com.eg.android.AlipayGphone.perf}, ComponentInfo{com.eg.android.AlipayGphone/com.alipay.mobile.performance.sync.PerfAuthenticatorService}, uid 10294 ServiceInfo: AuthenticatorDescription {type=com.google.android.gm.pop3}, ComponentInfo{com.google.android.gm/com.android.email.service.Pop3AuthenticatorService}, uid 10132 ServiceInfo: AuthenticatorDescription {type=com.google}, ComponentInfo{com.google.android.gms/com.google.android.gms.auth.account.authenticator.GoogleAccountAuthenticatorService}, uid 10020 ServiceInfo: AuthenticatorDescription {type=com.eg.android.AlipayGphone}, ComponentInfo{com.eg.android.AlipayGphone/com.alipay.mobile.healthcommon.accountsync.AuthenticationService}, uid 10294 ServiceInfo: AuthenticatorDescription {type=com.qihoo.appstore}, ComponentInfo{com.qihoo.appstore/com.qihoo.libcoredaemon.account.AccountAuthenticatorService}, uid 10631 ServiceInfo: AuthenticatorDescription {type=com.tencent.mobileqq.account}, ComponentInfo{com.tencent.mobileqq/com.tencent.mobileqq.contactsync.authenticator.AuthenticationService}, uid 10296 ServiceInfo: AuthenticatorDescription {type=com.xunmeng.pinduoduo.account_type}, ComponentInfo{com.xunmeng.pinduoduo/com.xunmeng.pinduoduo.lifecycle.service.PDDAuthService}, uid 10470 ServiceInfo: AuthenticatorDescription {type=com.google.android.gm.exchange}, ComponentInfo{com.google.android.gm/com.android.email.service.EasAuthenticatorService}, uid 10132 ServiceInfo: AuthenticatorDescription {type=cn.wps.moffice}, ComponentInfo{cn.wps.moffice_eng/cn.wps.moffice.service.AuthenticatorService}, uid 10590 ServiceInfo: AuthenticatorDescription {type=com.tencent.android.qqdownloader.YYBLiveAccountProvider.account}, ComponentInfo{com.tencent.android.qqdownloader/com.live.sync.YYBLiveAuthService}, uid 10522 ServiceInfo: AuthenticatorDescription {type=com.tencent.mm.account}, ComponentInfo{com.tencent.mm/com.tencent.mm.plugin.account.model.AccountAuthenticatorService}, uid 10295 ServiceInfo: AuthenticatorDescription {type=com.example.android.basicsyncadapter.account}, ComponentInfo{com.example.android.basicsyncadapter/com.example.android.common.accounts.GenericAccountService}, uid 10363 ServiceInfo: AuthenticatorDescription {type=com.xunmeng.pinduoduo.tide_account_type}, ComponentInfo{com.xunmeng.pinduoduo/com.xunmeng.pinduoduo.service.UserAuthService}, uid 10470 ServiceInfo: AuthenticatorDescription {type=com.google.android.gm.legacyimap}, ComponentInfo{com.google.android.gm/com.android.email.service.LegacyImapAuthenticatorService}, uid 10132 Account visibility: qianyinhulian@gmail.com com.google.android.apps.photos, 2 com.google.android.apps.maps, 2 com.google.android.apps.wellbeing, 2 com.google.android.gm, 2 com.google.ar.core, 2 com.google.android.apps.messaging, 2 walleye:/ # walleye:/ #