df-See how much free disk space the different file systems have, the disk utilization of the mounted file system (shown in K only). df-h Display disk space in a readable manner (K,m,g visually based on file size)Show Inode usage: The inode is a data structure used to store metadata for a particular file, and the predefined number of Inode is assigned when a file system is created. A file system that runs ou
The DF command lists the number of free disk space on the file system where the specified file name resides. If no file name is specified, all currently used file systems are displayed. By default, disk space is displayed as a block of 1K, and if the environment variable posixly_correct is set, a block of 512 bytes is displayed.Command formatDF [OPTION] ... [FILE] ...Command parameters-A,--allDisplays the usage of all file system disk space-B,--block-
Original URL: http://blog.csdn.net/wangjunjun2008/article/details/19840671Du (disk usage), as the name implies, view the size of the directory/file footprint#查看当前目录下的所有目录以及子目录的大小$ du-h$ du-ah#-h: Using the human form of K, M and G to display#-a: Displaying directories and filesDU-H tmpDu-ah tmpSize of #只查看当前目录下的tmp目录 (including subdirectories)#查看当前目录及其指定深度目录的大小Du-h–-max-depth=0#-–max-depth=n: Drill down to the nth-level directory, set here to 0, which means not to go deep into subdirectoriesSome
The DF command is used to view the disk usage of the Linux file system, and to see how much space is currently occupied by the disk and how much space is left.Several of the commonly used commands areCommand 1 DF The default display size is in kilobytes, you can use the parameter-K 1024-byte units,-M 1024*1024 bytes,-I display innode information,-H displays the data in the appropriate units,-H is the same a
Today a friend of the server space is full, check found that the server Apache logs occupy 3.6G of space, the log clean up after found df-h still show/Occupy space for 100%
What is this for? Because some of the programs that are programmed to run Linux do not immediately make room for deletion, and he deletes exactly the Apache log file that is running in
Use the following command to see which files are still occupied by which process
Tags: syn system ada centos inode int cal Inux ReadThe DF command is used to view the partition of the disk, the space used by the disk, and the remaining space1. UsageDF [Options] [file:]2. Command options-A ,--all file Systems-H,--human-readable to display information in a suitable unit-H,--si is the same as the-h parameter, but is calculated as the conversion unit of Bytes instead of the Bytes-I,--inodes display inode information-K,--kilobytes spec
1, the size of the LVM adjustment space:#lvextend-L +1300m/dev/mapper/ycgsstore_sdb-wmy#lvdisplay wmyThe adjustment was successful, but the DF view was still the original space size.#df-H2, Google found the following solutions:Original address: http://www.linuxquestions.org/questions/linux-general-1/df-showing-incorrect-used-space-after-lvextend-758945/Steps:#U
ArticleDirectory
Parameters
Option
Example
Display disk space usage
DF [Options] [Filesystem-list]
Parameters
When DF is called without any parameters, the user obtains free space for each mounted device on the local system.
Filesystem-listIs an optional list of one or more path names. The path name is used to specify the file system to cover its space usage.
Option
-H
The Linux df command is used to display the disk usage statistics of the file system on Linux.SyntaxDf [option]... [FILE]... FILE-a, -- all contains all file systems with 0 Blocks FILE -- block-size = {SIZE} use Blocks of {SIZE} size FILE-h, -- human-readable uses a human-readable format (the preset value does not include this option ...) FILE-H, -- si is like-h, but 1000 is used instead of 1024 FILE-I, -- inodes: list inode information
There are very many people who say. There is a lot of knowledge on the Internet, why do you have to repeat these things in your blog?What I want to say is that what other people write is something that others understand. At the same time is the summary of the learning process for others, for themselves. Write their own blog The most basic purpose is to record their own learning process, the same time on their own learning things to summarize, when after a period of time to look back. I have expe
Oracle Library failed because the disk is full, log the instructions to view disk capacity1. Command format:DF [Options] [file]-A All File system list-h easy to read mode display-H equals "-H", but the formula, 1k=1000, rather than 1k=1024-I display inode information-K block is 1024 bytes-L show local file system only-M block is 1048576 bytes--no-sync Ignore sync command-P output format POSIX--sync perform the sync command before obtaining the disk information-T File system typeFormat:
EXT2 File System
Linux's regular filesystem is Ext2 (Linux second Extended file system), which consists mainly of the following three parts:
1 Super BLOCK: Records the overall information of this file system, including the total amount of inode/block, usage, surplus, and file system format and related information.
2 inode: Log file properties and permissions (metadata metadata), a file occupies an inode, while recording file data in the block number
3 Block: Where the actual data is stored
Tags: disk space shadow hints between the FFFFFF data body-odf 报告文件系统磁盘空间的使用情况Syntax format: DF "option" "File" df [option] [file or directory]Attention:
There must be at least one space between each element in the DF command and subsequent options and files or directories.
If you do not specify a file parameter after the command, the usage of all disk p
Learn about basic Linux commands: df commands and du commands-general Linux technology-Linux technology and application information. For more information, see the following. Df command
This interface is used to view the status information of the Linux File System and display the capacity, used, unused, and mount points of each partition.
For example
Df-k dis
1. detailed usage of the du command
Common commands: [B] du [/B]-
Query the disk space used by an archive or directory
A: displays the disk space occupied by all directories and each file in the second directory.
B: The size is represented by bytes (the default value is K bytes)
C: add the total value (default)
S: only display the total size of each file
X: only calculate the files of the same file system.
L: Calculate the size of all files
Reference
The command du can displa
the version information and exits.[Size] can be the following unit (an integer can be added before the Unit ):KB 1000, K 1024, MB 1000000, M 1048576, G, T, P, E, Z, and Y.Report du errorsGNU coreutils project home page: GNU software general help: Report du translation errors to (2) Ubuntu command for viewing disk space The DF-h df command is used in Linux to view the file system by disk partition. You can
View the folder size in Linux and the remaining disk space (du/df)1. Introduction
View the directory size in du, and view the disk usage in df.2. du
Disk usage(1) Basic functionsRecursively view the size of all files in a folder(2) common parameters:-H,-human-readable Display dimensions in a readable manner (for example, 1 K 234 M 2G)-S,-summarize only calculates the total usage of each parameter in the Com
former is all the remaining space on the hard disk, and the latter is
The ext3 file system gives the root user 5% exclusive space, so here is not
. It should be emphasized that the size of each block is generally 4 K (× this sentence is incorrect, not necessarily 4 K. The correct method is: total size = SFs. f_blocks × F _ bsize, that is, the number of blocks × the size of each block. The unit is bytes, that is,/1024/1024/1024 is the unit of GB. In addition, the problem should be noted that SFS
DF: Lists the overall disk usage of the file system;Du: Evaluating the disk usage of the file system (commonly used to estimate the capacity of the catalog)DF parameter:-A: List all file systems, including system-specific/proc and other file systems-K: Displays each file system in KB capacity-M: Display the file system in MB capacity-H: Self-display in GB,MB,KB and other formats that are easier for people t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.