General Command Summary for ADB (continuous update)

Source: Internet
Author: User
Tags cpu usage

1.ADB devices

2. Grab adb log:adb logcat-v time >test.log (log stored directly in PC user name)

3.ADB Install package address (can be dragged directly to the window) installing the app

4.ADB Uninstall PackageName Uninstall application

5. Check your phone's memory:

ADB Shell Cat/proc/meminfo

6. View the PID of an application:

EG:ADB Shell PS | grep QQ

7. Check the CPU usage of an app:

ADB shelltop-m 10-s CPU (-m display maximum number,-s sort by specified line) 8. View memory usage for an app: adb shelldumpsys meminfo pid9. View the package name for an app adb shelllogcat |gre P START

General Command Summary for ADB (continuous update)

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.