df - Usage report file system disk space

Overview

df [OPTION]... [FILE]...

POSIX options: [-kP]

GNU options (shortest way): [-ahHiklmPv] [-t FStype ] [the -X- FStype ] [--block-size = size ] [--print-type] [--no-Sync] [--sync] [ --help] [--version] [-]

description

This manual page documents the GNU version of df. Df command to list the amount of available disk space on the file system assigns each file name is located. If a filename is not specified, all of the file system currently in use is displayed. When the default settings, the disk space as a 1K display, if the environment variable is set POSIXLY_CORRECT, is used as a display 512 bytes. If the parameter is a comprising used file system disk device names, df command shows the available space of the file system, rather than the node that contains the device file system (only the root file system). this version of df can not show unused file system space available, this is because most of the file system structure of the system must be very clear in response to such a request.

 

 

GNU Parameter Description

 

-a, --all
BLOCK list includes a file system 0
--block-size=SIZE use SIZE-byte blocks
Specifies the size of the block
-h,--huma-readable
Shows the size of a common format (e.g.: 1K 234M 2G)
-H,--si
Above, but here 1k is equal to 1000 bytes instead of 1024 bytes
-i, --inodes
Instead of the information block with the status indication index points

 

-k, --kilobytes
Specifies block size is equal to 1024 bytes display usage
-l, --local
Show only the local file system usage
-m, --megabytes
Specifies block size is equal to 1048576 bytes (1M) to display usage
--no-sync
Before calling prohibit the use of information acquired synchronization (default)
-P, --portability
Use POSIX output format
--sync
Called before obtaining the use of information synchronization
-t, --type=TYPE
Show only the specified type (TYPE) file system
-T, --print-type
The output of each type of file system
-x, --exclude-type=TYPE
Only files systems other than the specified type (TYPE).
-v (ignored)
--
The output of the command help message and exit
--version
Output version information and exit 

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11080764.html