df¶
Report filesystem disk space usage.
Synopsis¶
Description¶
Report filesystem disk space usage. Similar to the Unix df command but cross-platform.
Flags¶
| Flag | Short | Description | Default |
|---|---|---|---|
--all |
-a |
Include pseudo filesystems | false |
--human |
-h |
Print sizes in human readable format | false |
--inode |
-i |
List inode information instead of block usage | false |
--local |
-l |
Limit to local filesystems | false |
--type |
-t |
Limit to filesystems of specific type | |
--sort |
-S |
Sort by: name, used, available, percent |
name |
--reverse |
-r |
Reverse the sort order | false |
Examples¶
Show disk space for all filesystems:
Human-readable output:
Show inode usage:
Show only local filesystems:
Filter by filesystem type:
Sort by percent used:
Show space for specific path:
Include all filesystems:
Sample Output¶
Filesystem 1K-blocks Used Available Use% Mounted on
-----------------------------------------------------------------------------------------------
/dev/sda1 102400000 45678912 51234567 45% /
/dev/sdb1 512000000 123456789 300000000 29% /home
Human-readable: