Gaurav Verma
Gaurav Verma

Reputation: 52

adb command to get internal storge

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

Answers (1)

Lalit Fauzdar
Lalit Fauzdar

Reputation: 6361

Simply use adb shell df /data.
enter image description here
You can also use adb shell df /system for system occupied storage.

Upvotes: 2

Related Questions