Forum Discussion
- rraghvaniChampion Level 3
See https://stackoverflow.com/questions/14042687/cpu-usage-per-application-in-android/19889090#19889090, it mentions the command adb shell top -m 10
Once you've got the correct command to get the information you require, you can then use that, in the sample script that I provided above.
- David91Frequent Contributor
Can I also use this adb command in powershell?
- rraghvaniChampion Level 3
- David91Frequent Contributor
Thank you but I would need to find out using a script
- David91Frequent Contributor
Yes i use ADB emulator for tests
- AlexKarasChampion Level 3
Hi,
https://www.repeato.app/how-to-automatically-check-memory-usage-of-you-app/ might provide you with possible solution.
- David91Frequent Contributor
i try it.. but return .. ReferenceError: deviceConnector is not defined
- rraghvaniChampion Level 3
Yes you can, providing your path is correctly setup
Use whatever you find easier. I just prefer PowerShell over Command Prompt
- rraghvaniChampion Level 3
Did you do an internet search for the error?
Related Content
- 10 years ago
Recent Discussions
- 15 hours ago