adb中常用的命令
进程线程有关 在 adb shell 中 adb shell ps eg: capricorn:/ # ps USER PID PPID VSIZE RSS WCHAN PC NAME root 1 0 16468 1628 SyS_epoll_ 00004c809c S /init root 2 0 0 0 kthreadd 0000000000 S kthreadd root 3 2 0 0 smpboot_th 0000000000 S ksoftirqd/ 0 root 6 2 0 0 diag_socke 0000000000 S kworker/u8: 0 ... capricorn:/ # ps | grep "system_server" 查看system_server信息 USER PID PPID VSIZE RSS WCHAN PC NAME system 13586 13395 2658524 331360 SyS_epoll_ 7 f980a2668 S system_server 可以知道PPID=13395 capricorn: / # ps 13395 USER PID PPID VSIZE RSS WCHAN PC NAME root 13395 1 2176320 52360 poll_sched 7 f980a2788 S zygote64