InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Android development tutorials

  • Android - Show top processes using adb
  • Android studio keyboard shortcuts
  • Disable sleep during android usb debugging
  • Download apk using AirDroid
  • Enable usb debugging
  • Exerciser monkey tutorial
  • Find top processes by memory/cpu on Android using Adb
  • Find used ports by an app on Android using Adb
  • Install Android 8 on Pixel 2
  • Root Android pixel 2 using Magisk and boot image patching
  • Transfer android apk using adb
  • Using Google analytics SDK v2 for android app real time tracking
  • View Desktop Site
  • adb tutorial
 
  • Home
  • > Tutorials
  • > Android Development

Find top processes by memory/cpu on Android using Adb

on Sep 2, 2022

This article will cover steps to find top processes by memory/cpu on Android using Adb. We will use pixel-2 for this article. But any other android phone can also be used.

  1. Install adb tools and enable developer mode on android phone.
  2. Connect android phone with Laptop using USP port
  3. Run the following command to see top processes sorted by memory
    adb shell top -s 6
  4. Here is how it will appear
  5. Run the following command to see top processes sorted by cpu
    adb shell top -s 9

The same command can also be used to sort the outcome on other fields. One of the use case is to check the memory taken by a specific process/app and observe the change on various action to detect memory leaks.

Suggested posts:

  1. Install Android 8 on Pixel 2
  2. Root Android pixel 2 using Magisk and boot image patching
  3. How to write custom php in wordpress
  4. WordPress – disable theme and plugin editing
  5. How to download apk from mobile using AirDroid
  6. curl – some handy commands
  7. Mac terminal – how to close shell on exit
  8. Linux – number of cpus (lscpu)
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged ADB, Android Development, Tutorials
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress