DF(1) 用户命令 DF(1)

df - 报告文件系统磁盘空间使用情况

df [选项列表]... [文件列表]...

This manual page documents the GNU version of df. df displays the amount of disk space available on the file system containing each file name argument. If no file name is given, the space available on all currently mounted file systems is shown. Disk space is shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used.

If an argument is the absolute file name of a disk device node containing a mounted file system, df shows the space available on that file system rather than on the file system containing the device node. This version of df cannot show the space available on unmounted file systems, because on most kinds of systems doing so requires very nonportable intimate knowledge of file system structures.



-a, --all
-B, --block-size=大小
scale sizes by SIZE before printing them; e.g., '-BM' prints sizes in units of 1,048,576 bytes; see SIZE format below
-h, --human-readable
以 1024 为幂显示大小(例如,1023M)
-H, --si
以 1000 为幂输出大小(例,1.1G)
-i, --inodes
显示 inode 信息而非块使用量
类似于 --block-size=1K
-l, --local
-P, --portability
使用 POSIX 输出格式
elide all entries insignificant to available space, and produce a grand total
-t, --type=类型
-T, --print-type
-x, --exclude-type=类型

Display values are in units of the first available SIZE from --block-size, and the DF_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables. Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set).

The SIZE argument is an integer and optional unit (example: 10K is 10*1024). Units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of 1000). Binary prefixes can be used, too: KiB=K, MiB=M, and so on.

FIELD_LIST is a comma-separated list of columns to be included. Valid field names are: 'source', 'fstype', 'itotal', 'iused', 'iavail', 'ipcent', 'size', 'used', 'avail', 'pcent', 'file' and 'target' (see info page).

由 Torbjorn Granlund、David MacKenzie 和 Paul Eggert 编写。

GNU coreutils 的在线帮助: https://www.gnu.org/software/coreutils/
请向 https://translationproject.org/team/zh_CN.html 报告翻译错误。

Copyright © 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

完整文档请见: https://www.gnu.org/software/coreutils/df
或者在本地使用: info '(coreutils) df invocation'

本页面中文版由中文 man 手册页计划提供。
中文 man 手册页计划:https://github.com/man-pages-zh/manpages-zh
2020年三月 GNU coreutils 8.32