使用法: df [オプション]... [ファイル]...
Show information about the file system on which each FILE resides,
or all file systems by default.
長いオプションに必須の引数は短いオプションにも必須です.
-a, --all include dummy file systems
-B, --block-size=SIZE use SIZE-byte blocks
--direct show statistics for a file instead of mount point
--total produce a grand total
-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)
-H, --si likewise, but use powers of 1000 not 1024
-i, --inodes list inode information instead of block usage
-k like --block-size=1K
-l, --local limit listing to local file systems
--no-sync do not invoke sync before getting usage info (default)
-P, --portability use the POSIX output format
--sync invoke sync before getting usage info
-t, --type=TYPE limit listing to file systems of type TYPE
-T, --print-type print file system type
-x, --exclude-type=TYPE limit listing to file systems not of type TYPE
-v (ignored)
--help この使い方を表示して終了
--version バージョン情報を表示して終了
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).
SIZE may be (or may be an integer optionally followed by) one of following:
KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.
Report df bugs to bug-coreutils@gnu.org
GNU coreutils home page:
Usage: df [OPTION]... [FILE]...
Show information about the file system on which each FILE resides,
or all file systems by default.
Mandatory arguments to long options are mandatory for short options too.
-a, --all include dummy file systems
-B, --block-size=SIZE use SIZE-byte blocks
--direct show statistics for a file instead of mount point
--total produce a grand total
-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)
-H, --si likewise, but use powers of 1000 not 1024
-i, --inodes list inode information instead of block usage
-k like --block-size=1K
-l, --local limit listing to local file systems
--no-sync do not invoke sync before getting usage info (default)
-P, --portability use the POSIX output format
--sync invoke sync before getting usage info
-t, --type=TYPE limit listing to file systems of type TYPE
-T, --print-type print file system type
-x, --exclude-type=TYPE limit listing to file systems not of type TYPE
-v (ignored)
--help display this help and exit
--version output version information and exit
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).
SIZE may be (or may be an integer optionally followed by) one of following:
KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.
Report df bugs to bug-coreutils@gnu.org
GNU coreutils home page:
DF(1) DF(1) 名前 df - ファイルシステムのディスク容量の使用状況を表示する 書式 df [options] [file...] POSIX オプション: [-kP] GNU オ プ シ ョ ン (簡略形式): [-ahiklmvHPT] [-t fstype] [-x fstype] [--block-size=SIZE] [--no-sync] [--sync] [--help] [--version] [--] 説明 df は各ファイルシステムにおいて、すでに使用中のディスクの量と使用可能な ディスクの量を表示する。 引 き数がない場合、 df は現在マウントされている (全てのタイプの) 全ファ イルシステムについて使用量と使用可能量を表示する。引き数が指定されて い る場合、 df は引き数 file が含まれるファイルシステムについて表示する。 POSIX 詳細 出力はデフォルトでは 512 バイト単位であるが、 -k オプションが指定された 場合は 1024 バイト単位になる。 -P オプションが指定されない場合、出力 フ ォーマットは未定義である。 file が通常のファイル、ディレクトリ、FIFO の いずれでもない場合の結果は規定されていない。 GNU 詳細 引き数 file がディスクデバイスファイルで、かつそこにマウント済みのフ ァ イ ルシステムが含まれている場合、 df はそのデバイスノードの属しているフ ァイルシステムではなく、デバイスファイルに対応している方のファイルシ ス テムの使用可能量を表示する。 POSIX オプション -k デフォルトの 512 バイト単位の代わりに 1024 バイト単位を用いる。 -P ‘Filesystem N-blocks Used Available Capacity Mounted on’ という ヘッダをつけて 6 列で出力する (通常は N=512、-k オプションが指定 されたときは N=1024)。 GNU オプション -a, --all サ イズが 0 ブロックのファイルシステムやタイプが ‘ignore’ または ‘auto’ のファイルシステムもリスト表示に含める (デフォルトでは 省 かれる)。 -h, --human-readable そ れぞれのサイズに、例えばメガバイトなら M のようなサイズ文字を 付加する。 10 の累乗ではなく 2 の累乗を用 い る の で 、 M は 1,048,576 バイトを表す。 -i, --inodes ブ ロック単位での使用容量のかわりに inode の使用状況をリスト表示 する。 -k, --kilobytes デフォルトのブロックサイズを無視し、 1024 バイトを 1 ブロック と してサイズを表示する。 -l, --local ローカルファイルシステムのみをリスト表示する。 -m, --megabytes メガバイト (1,048,576 バイト) ブロック単位でサイズを表示する。 -t fstype, --type=fstype タイプが fstype のファイルシステムのみをリスト表示する。 -t オプ ションを複数指定すれば、複数のタイプを表示するようにできる。デフ ォルトで省略されるものについては --all を参照すること。 -v このオプションは無視される (System V 版の df との互換性のために ある)。 -x fstype, --exclude-type=fstype タイプが fstype のファイルシステムを除外する。 -x オプションを複 数指定すれば、複数のファイルシステムタイプを表示から削除できる。 デフォルトでは、どのファイルシステムタイプも除外されない。デフォ ルトで省略されるものについては --all を参照すること。 -H, --si そ れぞれのサイズについて、例えばメガバイトなら M といったサイズ 文字を付加する。 (SIとは国際単位系のことで、これらのサイズ文字を 定 義 し て い る) 2 の累乗ではなく 10 の累乗を用いるので、 M は 1,000,000 バイトを表す。 -P, --portability POSIX 出力形式を用いる。これはデフォルトの表示形式に似ているが、 以下の a), b), c) の点が異なる。 a) ファイルシステムについての情 報が常に 1 行で表示される。このオプションを付けるとマウントデ バ イ ス名だけが単独で 1 行に表示されることはない。すなわちマウント デバイス名が 20 文字以上の場合 (例えばネットワークマウントな ど) コラムの整列が崩れることになる。 b) 丸めが繰上げになる。 c) コラ ムのヘッダが POSIX に準拠している。 -T, --print-type 各ファイルシステムのタイプを表示する。 mount(8) を参照。 --block-size=SIZE ブロックサイズを SIZE に設定し、環境変数の値を無視する。 --no-sync 使用量データを得る前に sync(2) を呼ばない。このオプション は df の 動 作がかなり速くなるかもしれないが、システムによっては (特に SunOS では) 結果が少し古くなるかもしれない。このオプションはデフ ォルトである。 --sync 使用量データを得る前に sync(2) を呼ぶ。システムによっては (特に SunOS では) より新しい結果を得ることができる。しかし一般的に、こ のオプションは df の動作をずっと遅くする (特にファイルシステムが 多い場合や、更新が非常に頻繁なファイルシステムがある場合)。 GNU 標準オプション --help 標準出力に使用方法のメッセージを出力して正常終了する。 --version 標準出力にバージョン情報を出力して正常終了する。 -- オプションリストの終りを示す。 ブロックサイズ デフォルトの出力ファイルブロックサイズは 1024 バイト (POSIXLY_CORRECTが 設定されているときは 512 バイト) である。この値は以下の環境変数のどれか を設定することで変更できる 。 ま た 、 こ れ ら の 環 境 変 数 の 値 は --block-size=SIZE がオプションに与えられると無視される。 優先順位: DF_BLOCK_SIZE, BLOCK_SIZE, POSIXLY_CORRECT. こ れらの変数の値は、数字でも human-readable でも si でもよい。数字の後 には、何倍であるかを指定するサイズ文字と、通常のバイトを選択する B また は 十 進 の 「 商 業 用 」 バ イトを選択する D を続けてもよい。たとえば ‘BLOCK_SIZE=1KB’ は ‘BLOCK_SIZE=1024’ に等しく、 ‘BLOCK_SIZE=1KD’ は ‘BLOCK_SIZE=1000’ に等しい。 以 下の文字が認識される (また --human-readable と --si オプションで表示 されるときに用いられる)。 k キロ: --human-readable なら 2^10 = 1024、 --si なら 10^3 = 1000 M メガ: 2^20 = 1,048,576 または 10^6 = 1,000,000 G ギガ: 2^30 = 1,073,741,824 または 10^9 = 1,000,000,000 T テラ: 2^40 = 1,099,511,627,776 または 10^12 = 1,000,000,000,000 P ペ タ: 2^50 = 1,125,899,906,842,624 ま た は 10^15 = 1,000,000,000,000,000 E エ ク サ: 2^60 = 1,152,921,504,606,846,976 ま たは 10^18 = 1,000,000,000,000,000,000 Z ゼタ: 2^70 = 1,180,591,620,717,411,303,424 ま た は 10^21 = 1,000,000,000,000,000,000,000 Y ヨ タ: 2^80 = 1,208,925,819,614,629,174,706,176 または 10^24 = 1,000,000,000,000,000,000,000,000 環境変数 変数 DF_BLOCK_SIZE, BLOCK_SIZE, POSIXLY_CORRECT は出力ファイルブロッ ク サイズの選択を決定する。変数 LANG, LC_ALL, LC_CTYPE, LC_MESSAGES が通常 の意味を持つ。 準拠 POSIX 1003.2 関連項目 mount(8) 注意 ディスク使用量は丸めの際に繰上げられ、空き容量は繰り下げられる。 このページは fileutils-4.1 パッケージの df コマンドについて説明したもの で ある; その他のバージョンでは少し違いがあるかもしれない。修正や追加は aeb@cwi.nl, aw@mail1.bet1.puv.fi, ragnar@ragnar-hojland.com 宛にメー ル で連絡してください。プログラムのバグについては bug-fileutils@gnu.org へ 報告してください。 GNU fileutils 4.1 18 June 2002 DF(1)
DF(1) User Commands DF(1)
NAME
df - report file system disk space usage
SYNOPSIS
df [OPTION]... [FILE]...
DESCRIPTION
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 contain-
ing a mounted file system, df shows the space available on that file
system rather than on the file system containing the device node (which
is always the root file system). 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.
OPTIONS
Show information about the file system on which each FILE resides, or
all file systems by default.
Mandatory arguments to long options are mandatory for short options
too.
-a, --all
include dummy file systems
-B, --block-size=SIZE
use SIZE-byte blocks
--direct
show statistics for a file instead of mount point
--total
produce a grand total
-h, --human-readable
print sizes in human readable format (e.g., 1K 234M 2G)
-H, --si
likewise, but use powers of 1000 not 1024
-i, --inodes
list inode information instead of block usage
-k like --block-size=1K
-l, --local
limit listing to local file systems
--no-sync
do not invoke sync before getting usage info (default)
-P, --portability
use the POSIX output format
--sync invoke sync before getting usage info
-t, --type=TYPE
limit listing to file systems of type TYPE
-T, --print-type
print file system type
-x, --exclude-type=TYPE
limit listing to file systems not of type TYPE
-v (ignored)
--help display this help and exit
--version
output version information and exit
Display values are in units of the first available SIZE from
--block-size, and the DF_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environ-
ment variables. Otherwise, units default to 1024 bytes (or 512 if
POSIXLY_CORRECT is set).
SIZE may be (or may be an integer optionally followed by) one of fol-
lowing: KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T,
P, E, Z, Y.
AUTHOR
Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.
REPORTING BUGS
Report df bugs to bug-coreutils@gnu.org
GNU coreutils home page:
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa