Difference between revisions of "Df"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man1/df.1.html
Tags: Mobile web edit, Mobile edit |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
<code>[[wikipedia:df(Unix)|df]]</code><ref>http://man7.org/linux/man-pages/man1/df.1.html</ref> (abbreviation for disk free) is a [[command]] used to display the amount of [[file system]] disk space usage. It is include in the <code>[[coreutils]]</code> package in Ubuntu. | <code>[[wikipedia:df(Unix)|df]]</code><ref>http://man7.org/linux/man-pages/man1/df.1.html</ref> (abbreviation for disk free) is a [[command]] used to display the amount of [[file system]] disk space usage. It is include in the <code>[[coreutils]]</code> package in Ubuntu. | ||
+ | * <code>[[df --help]]</code> | ||
df | df | ||
Line 18: | Line 20: | ||
== Examples == | == Examples == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
df -h | df -h | ||
− | Filesystem Size Used Avail Use% Mounted on | + | Filesystem Size Used [[Avail]] Use% Mounted on |
− | udev 481M 0 481M 0% /dev | + | udev 481M 0 481M 0% /dev |
− | tmpfs 99M 556K 99M 1% /run | + | tmpfs 99M 608K 98M 1% /run |
− | /dev/sda1 4.7G 1.3G 3.5G 26% / | + | /dev/vda1 25G 2.1G 22G 9% / |
− | tmpfs 493M 0 493M 0% /dev/shm | + | tmpfs 493M 0 493M 0% /dev/shm |
− | tmpfs 5.0M 0 5.0M 0% /run/lock | + | tmpfs 5.0M 0 5.0M 0% /run/lock |
− | tmpfs 493M 0 493M 0% /sys/fs/cgroup | + | tmpfs 493M 0 493M 0% /sys/fs/cgroup |
− | /dev/sda15 105M 3.6M 101M 4% /boot/efi | + | /dev/vda15 105M 3.6M 101M 4% /boot/efi |
− | tmpfs 99M 0 99M 0% /run/user/1000 | + | tmpfs 99M 0 99M 0% /run/user/0 |
− | + | ||
+ | df -h | ||
+ | Filesystem Size Used Avail Use% Mounted on | ||
+ | udev 481M 0 481M 0% /dev | ||
+ | tmpfs 99M 556K 99M 1% /run | ||
+ | /dev/sda1 4.7G 1.3G 3.5G 26% / | ||
+ | tmpfs 493M 0 493M 0% /dev/shm | ||
+ | tmpfs 5.0M 0 5.0M 0% /run/lock | ||
+ | tmpfs 493M 0 493M 0% /sys/fs/cgroup | ||
+ | /dev/sda15 105M 3.6M 101M 4% /boot/efi | ||
+ | tmpfs 99M 0 99M 0% /run/user/1000 | ||
== Related terms == | == Related terms == | ||
Line 49: | Line 48: | ||
* <code>[[du]]</code> | * <code>[[du]]</code> | ||
* <code>[[docker system df]]</code> | * <code>[[docker system df]]</code> | ||
− | * <code> statfs (2)</code> http://man7.org/linux/man-pages/man2/statfs.2.html | + | * <code>[[virt-df]]</code> |
+ | * <code>[[statfs]] (2)</code> http://man7.org/linux/man-pages/man2/statfs.2.html | ||
* [[PAN-OS]]: <code>[[show system disk-space]]</code> | * [[PAN-OS]]: <code>[[show system disk-space]]</code> | ||
* <code>[[tune2fs]] -l</code> | * <code>[[tune2fs]] -l</code> | ||
− | * <code>[[sar - | + | * <code>[[sar -F]]</code> |
+ | * [[Reservation percentage]] | ||
+ | * Windows: <code>[[wmic logicaldisk get "size,freespace,caption"]]</code> | ||
== See also == | == See also == |
Latest revision as of 15:03, 6 December 2023
df
[1] (abbreviation for disk free) is a command used to display the amount of file system disk space usage. It is include in the coreutils
package in Ubuntu.
df Filesystem 1K-blocks Used Available Use% Mounted on
df -h -h, --human-readable
df -kh -xoverlay -x --exclude . For example: overlay
df -i or df --inodes df -i Filesystem Inodes IUsed IFree IUse% Mounted on
df -l -l local filesystems
Examples[edit]
df -h Filesystem Size Used Avail Use% Mounted on udev 481M 0 481M 0% /dev tmpfs 99M 608K 98M 1% /run /dev/vda1 25G 2.1G 22G 9% / tmpfs 493M 0 493M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 493M 0 493M 0% /sys/fs/cgroup /dev/vda15 105M 3.6M 101M 4% /boot/efi tmpfs 99M 0 99M 0% /run/user/0
df -h Filesystem Size Used Avail Use% Mounted on udev 481M 0 481M 0% /dev tmpfs 99M 556K 99M 1% /run /dev/sda1 4.7G 1.3G 3.5G 26% / tmpfs 493M 0 493M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 493M 0 493M 0% /sys/fs/cgroup /dev/sda15 105M 3.6M 101M 4% /boot/efi tmpfs 99M 0 99M 0% /run/user/1000
Related terms[edit]
find
ls
du
docker system df
virt-df
statfs (2)
http://man7.org/linux/man-pages/man2/statfs.2.html- PAN-OS:
show system disk-space
tune2fs -l
sar -F
- Reservation percentage
- Windows:
wmic logicaldisk get "size,freespace,caption"
See also[edit]
df, df -h
,virt-df
,sar -F, df -hT, df --help
- file, File system, directory,
touch
,mkdir
,ls
,ln
truncate
,fallocate
,split
,stat
, inode, File descriptor, superblock, block size (blockdev
),fuser
,lsof
,scrub
,chattr
, ulimit (nofiles),cp
,mv
,file (command)
,mkfifo
,chmod
- File system,
du, df, find, ls, mkdir, touch, locate
du, du -hs
, Disk space usage,df
,ls
,tree
,find
,docker system df
,journalctl --disk-usage
, No space left on device, ENOSPC,sar -F
,growpart
,resize2fs
, ncdu, duf, dua-cli
Advertising: