Device Information Android 1.0+ Risk: READ_ONLY

Disk Free / Partition Storage Space

Shows storage capacity, used space, and free space across all mounted partitions.

Command Syntax

adb shell df -h
Generic Syntax: df [-h] [-k] [<path>]

Options & Parameters

Flag Description
-h Human-readable output (MB/GB).
-k Display values in 1024-byte blocks.

Real-World Usage Examples

Check internal and partition storage in GB/MB
Prints storage partition table.
adb shell df -h
Output:
Filesystem       Size  Used Avail Use% Mounted on
/dev/block/dm-0  3.8G  2.4G  1.4G  64% /
/dev/block/dm-1  1.2G  800M  400M  67% /system
/data/media      112G   38G   74G  34% /storage/emulated