Adb shell closes the process

Source: Internet
Author: User
Tags dio

Because the parameters following the kill command in the adb shell are pid, ps all applications first:
Adb is in shell

Root @ android:/# ps

USER PID PPID VSIZE RSS WCHAN PC NAME
Root 1 0 676 528 c0159a18 000102f4 S/init
Root 2 0 0 0 c00741c8 00000000 S kthreadd
Root 3 2 0 0 c005a2d8 00000000 S ksoftirqd/0
Root 4 2 0 0 c006f388 00000000 S kworker/0: 0
Root 5 2 0 0 c006f388 00000000 S kworker/u: 0
Root 6 2 0 0 c00d54f4 00000000 S migration/0
Root 10 2 0 0 c006f6b4 00000000 S khelper
Root 11 2 0 0 c006f6b4 00000000 S fs_sync
Root 12 2 0 0 c006f6b4 00000000 S suspend
Root 13 2 0 0 c0126ee0 00000000 S sync_supers
Root 14 2 0 0 c01_f4c 00000000 S bdi-default
Root 15 2 0 0 c006f6b4 00000000 S kblockd
Root 16 2 0 0 c0315cb8 00000000 S khubd
Root 18 2 0 0 c006f6b4 00000000 S limit 80211
Root 19 2 0 0 c045899c 00000000 D pmic_thread_kth
Root 20 2 0 0 c011fa60 00000000 S kswapd0
Root 21 2 0 0 c0184ebc 00000000 S fsnotify_mark
Root 22 2 0 0 c006f6b4 00000000 S crypto
Root 44 2 0 0 c006230c 00000000 D binder_watchdog
Root 45 2 0 0 c006f6b4 00000000 S binder
Root 47 2 0 0 c03d6a18 00000000 D bat_thread_kthr
Root 48 2 0 0 c03d6cb8 00000000 S mtk charger_hv _
Root 49 2 0 0 c006f6b4 00000000 S btif_rxd
Root 50 2 0 0 c006f6b4 00000000 S trace mon
Root 51 2 0 0 c04b653c 00000000 S disp_config_upd
Root 52 2 0 0 c006f6b4 00000000 S mtk_vibrator
Root 53 2 0 0 c006230c 00000000 D esd_recovery_kt
Root 54 2 0 0 c0073d6c 00000000 D disp_captureovl
Root 55 2 0 0 c03db168 00000000 S disp_capturefb _
Root 56 2 0 0 0 c03dd3bc 00000000 S disp_config_upd
Root 57 2 0 0 c0w.cc 00000000 S mmcqd/0
Root 58 2 0 0 c01_cc 00000000 S mmcqd/0boot0
Root 59 2 0 0 c01_cc 00000000 S mmcqd/0boot1
Root 60 2 0 0 c006f6b4 00000000 S accdet
Root 61 2 0 0 c04c2bd4 00000000 S keyEvent_send
Root 62 2 0 0 c006f6b4 00000000 S accdet_eint
Root 63 2 0 0 c02d4c58 00000000 S kworker/u: 2
Root 64 2 0 0 c006f6b4 00000000 S accdet_disable
Root 65 2 0 0 c01_cc 00000000 S mmcqd/1
Root 67 2 0 0 c042a0ec 00000000 S mtk-tpd
Root 68 2 0 0 c003a5b8 00000000 S mt_gpufreq
Root 69 2 0 0 c006f6b4 00000000 S deferwq
Root 70 2 0 0 c006f6b4 00000000 S f_mtp
Root 71 2 0 0 c033e6b8 00000000 S file-storage
Root 72 2 0 0 c006230c 00000000 D wdtk-0
Root 73 2 0 0 c006230c 00000000 D wdtk-1
Root 74 1 436 232 c0159a18 000102f4 S/sbin/ueventd
Root 76 2 0 0 c02239d0 00000000 S jbd2/mmcblk0p5-
Root 77 2 0 0 c006f6b4 00000000 S ext4-dio-unwrit
Root 78 2 0 0 c016fb60 00000000 S flush-179: 0
Root 82 2 0 0 c02239d0 00000000 S jbd2/mmcblk0p7-
Root 83 2 0 0 c006f6b4 00000000 S ext4-dio-unwrit
Root 88 2 0 0 c02239d0 00000000 S jbd2/mmcblk0p6-
Root 89 2 0 0 c006f6b4 00000000 S ext4-dio-unwrit
Root 94 2 0 0 c02239d0 00000000 S jbd2/mmcblk0p4-
Root 95 2 0 0 c006f6b4 00000000 S ext4-dio-unwrit
Root 98 2 0 0 c02239d0 00000000 S jbd2/mmcblk0p2-
Root 99 2 0 0 c006f6b4 00000000 S ext4-dio-unwrit
Root 102 2 0 0 c02239d0 00000000 S jbd2/mmcblk0p3-
Root 103 2 0 0 c006f6b4 00000000 S ext4-dio-unwrit
Root 104 2 0 0 c02d99f4 00000000 S loop0
Root 123 2 0 0 bf04cec8 00000000 S mtk_stp_psm
Root 124 2 0 0 bf04cec8 00000000 S mtk_stp_btm
Root 125 2 0 0 bf04ccd4 00000000 S mtk_wmtd
Root 126 2 0 0 c006f6b4 00000000 S fm_timer_wq
Root 127 2 0 0 c006f6b4 00000000 S fm_eint_wq
System 130 1 1092 396 c03a3c2c 400b9318 S/system/bin/servicemanager
Root 131 1 4532 1104 ffffffff 40135ac4 S/system/bin/vold
System 132 1 944 412 c02b7f8c 400870a8 S/system/bin/logwrapper
Ccci 133 1 1468 596 bf1484ec 400da318 S/system/bin/ccci_fsd
System 134 1 948 368 bf144128 4012d0a8 S/system/bin/ccci_mdinit
Root 135 1 1788 764 c0159a18 400ff2c4 S/system/bin/debugadh
Shell 136 1 3052 1284 ffffffff 40147ac4 S/system/bin/mobile_log_d
Root 137 1 10016 1240 ffffffff 400e0ac4 S/system/bin/netd
Shell 138 1 4608 888 ffffffff 40206470 S/system/bin/netdiag
System 141 1 40452 12396 ffffffff 400b2318 S/system/bin/surfaceflinger
System 142 132 1092 424 c0159a18 400de2c4 S/system/bin/6620_launcher
Root 143 1 288552 41444 ffffffff 400ea43c S zygote
System 144 1 3320 580 ffffffff 400b4ac4 S/system/bin/hald
Drm 145 1 19032 6716 ffffffff 4014b318 S/system/bin/drmserver
Media 146 1 48236 9928 ffffffff 4013d318 S/system/bin/mediaserver
Media 147 1 21040 6360 ffffffff 400bc318 S/system/bin/vtservice
System 148 1 4556 732 ffffffff 400d0318 S/system/bin/matv
Bluetooth 149 1 1612 768 c0159a18 401782c4 S/system/bin/container-daemon
Install 150 1 1120 540 c059aed8 4005a0a8 S/system/bin/installd
Keystore 151 1 2148 964 c04e0e94 40090dc8 S/system/bin/keystore
Gps 152 1 15780 1592 ffffffff 40102470 S/system/bin/mtk_agpsd
Shell 153 1 1092 404 c0079120 400a6ac4 S/system/bin/batterywarning
Root 159 1 16268 3568 ffffffff 400c9ac4 S/system/bin/atci_service
Root 160 1 1236 496 c0159a18 4005b43c S/system/bin/atcid
System 161 1 4720 852 ffffffff 40112318 S/system/bin/dm_agent_binder
Bluetooth 162 1 4484 1096 ffffffff 402eb43c S/system/bin/mtkbt
System 164 1 4704 812 ffffffff 40094318 S/system/bin/GoogleOtaBinder
Root 166 1 14092 5020 ffffffff 400c4ac4 S/system/bin/em_svr
System 167 1 4660 800 ffffffff 400b0318 S/system/bin/nvram_agent_binder
System 169 1 1120 420 c0079120 4004fac4 S/system/bin/thermal
System 170 1 1088 396 c0079120 4010bac4 S/system/bin/thermald
Root 174 1 1280 604 c02b7f8c 4008a0a8 S/system/bin/sh
Root 178 1 4640 368 ffffffff 00018498 S/sbin/adbd
Radio 417 1 16504 624 ffffffff 40067ac4 S/system/bin/gsm0710muxd
Shell 418 1 5076 804 ffffffff 4009d128 S/system/bin/mdlogger
Radio 509 1 30604 1284 ffffffff 400a8ac4 S/system/bin/rild
System 554 143 448000 60392 ffffffff 400ea318 S system_server
U0_a32 725 143 301012 ffffffff 400eb24c S com. android. inputmethod. latin
Radio 744 143 327000 35292 ffffffff 400eb24c S com. android. phone
System 749 143 298652 23600 ffffffff 400eb24c S com. mediatek. voicecommand
U0_a41 771 143 298940 ffffffff 400eb24c S com. mediatek. bluetooth
U0_a33 788 143 327684 ffffffff 400eb24c S com. android. launcher
U0_a11 802 143 308124 24724 ffffffff 400eb24c S com. google. process. location
U0_a11 833 143 311800 29308 ffffffff 400eb24c S com. google. process. gapps
U0_a42 1106 143 303580 ffffffff 400eb24c S com. mediatek. mtklogger
System 1126 143 299136 22636 ffffffff 400eb24c S com. mediatek. atci. service
U0_a54 1447 143 324520 ffffffff 400eb24c S com. android. vending
System 1480 143 298168 23868 ffffffff 400eb24c S com. mediatek. schpw0000ff
U0_a45 1526 143 298052 23848 ffffffff 400eb24c S com. mediatek. appwidget. weather
U0_a44 1539 143 299376 ffffffff 400eb24c S com. mediatek. weather
Root 1742 2 0 0 c006f388 00000000 S kworker/u: 3
Root 1743 2 0 0 c006f388 00000000 S kworker/u: 4
Root 1839 2 0 0 c006f388 00000000 S kworker/
System 1957 143 322144 35244 ffffffff 400eb24c S com. android. settings
Root 2105 178 1628 1064 c0159a18 4014843c S logcat
U0_a62 2114 143 327356 ffffffff 400eb24c S com. android. systemui
U0_a5 2264 143 367484 55736 ffffffff 400eb24c S com. android. browser
Root 2350 2 0 0 c006f388 00000000 S kworker/0: 2
U0_a64 2386 143 298180 24452 ffffffff 400eb24c S com. dewav. timewidget
Root 2403 2 0 0 c016fb60 00000000 S flush-179: 96
U0_a2 2409 143 326176 34404 ffffffff 400eb24c S android. process. acore
Root 2428 2 0 0 c00d54f4 00000000 S migration/1
Root 2429 2 0 0 c006f388 00000000 S kworker/1:0
Root 2430 2 0 0 c005a2d8 00000000 S ksoftirqd/1
Root 2431 2 0 0 c006f388 00000000 S kworker/
U0_a17 2434 143 304800 ffffffff 400eb24c S android. process. media
Root 2455 178 1280 624 c0011564 40134ca4 S/system/bin/sh

Root 2459 2455 1360 504 00000000 400fa0a8 R ps

For example, disable systemui:

Under adb shell:

Killed 2114

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.