简体   繁体   中英

get number of processes using adb

I have a LG H810 device and I want to get the total number of processes that are currently running on the device using adb command.

I don't want to see the actual processes, I only want the total number of running processes.

Thanks

I guess this is what you are looking for , to get Process Count!

adb shell ps r|wc

BTW: you might want wc to count lines, so wc -l in that case.

like :

adb shell ps r|wc -l

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM