Reputation: 52
adb shell dumspys meminfo, vmstat commands gives the RAM size available on the device. Also, I have used adb shell df, which provides available memory in different partitions of the device. The problem with 'df' is that it provides different partitions and values on different versions. Is there any command in adb/linux which display the free internal or sdcard memory of the device?
Upvotes: 0
Views: 8059
Reputation: 6361
Simply use adb shell df /data
.
You can also use adb shell df /system
for system occupied storage.
Upvotes: 2