I tried adb shell top
, but it gives too much details info.
What I need is just the total available memory. How to get it via ADB?
Your first step to determining what's full is to execute in either a terminal or adb shell the command “df /sdcard” – this will display the disk space used by the internal SD. For purposes of this, the /sdcard mount point is all we're interested in, but if you want to see external space used you could do “df /sdcard2”.
Open your Apps list and tap the ""Settings"" app. Select ""Device care"" or ""Device maintenance"" on the menu—the name varies by model. Now, tap ""Memory"" to view the total amount of RAM in your phone or tablet, as well as RAM usage per app.
dumpsys gfxinfo is a shell command you can use on the device via the command line. It provides you a dump of the rendering information of your current application instance and included in that dump is your app's Jank info.
Why not built-in::
$ adb shell "cat /proc/meminfo"
Most phones lack free
utility and all the more buzybox. On other hand /proc/meminfo
is integral part of Linux.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With