Command format:DF [Options] File
Command function:Displays the free space for the specified disk file, and if no file is specified, represents all disks
Common options: -A All file system list- H easy to read mode display- H is the same as-H, but this is calculated as 1k=1000b -I display inode information- l Show local file system only- t display file system type
Common examples:Example one: Show disk usageCommand: DFExample two: Displaying disks of the specified typeCommand:
1, the difference between the two
Du,disk usage, is to search the file to calculate the size of each file and then accumulate, du can see the files are only some of the existing, not deleted. The size of his calculations is the sum of all the file sizes currently he thinks exist. Df,disk free, through the file system to quickly get the size of information, when we delete a file, the file is not immediately in the file system disappeared, but tempo
Tags: how to notify method view share Picture List Linux disk HTTPS system partitionTransfer from https://www.cnblogs.com/xd502djj/p/6668632.htmlLinux disk space always alarm, found to large files, after deletion, DF saw disk space is not released.The following discovery system has been found to alias RM, because Linux does not have a recycle Bin mechanism for delete operations, the RM operation has been customized, the deletion of files moved to the/
Transferred from: http://www.cnblogs.com/benio/archive/2010/10/13/1849946.htmlWhen the size of the disk exceeds the standard, there will be alarm prompts, if you know the DF and du command is a very wise choice.DF can view the first-level folder size, usage scale, file system and its hang-in points, but there is nothing to file.Du can view the size of files and folders.It works well with both. For example, use DF
Spatial information for file systemsDF CommandDfcommand provides a single-line summary,a row shows the used and available space for a loaded system of asking the price.the unit depends on the system,some use blocks,some of them areKB.Most modern implementations support- kOptions,That is, forced useKBUnit,as well-L (Lowercase LettersL)Options,Show local file system only,Exclude network-loaded file systems.DF Command DetailedSyntax :DF [ Options ] [ fil
The function of the DF command in Linux is to check the disk space footprint of the filesystem on the Linux server. You can use this command to get how much space the hard disk is occupied and how much space is left.
1. Command format:
DF [Options] [file]
2. Command function:
Displays the available space for the specified disk file. If no file name is specified, the free space for all currently mounted
DF: English name disk free, check the use of the hard disk. Du: English name disk usage, view the file size of the specified directory.1. Command formatdf[选项][文件]du[选项][文件]2. DF Common Options"df -a" 全部文件系统列表。"df -h" 人性化显示文件大小,如100K212G等。"df -k" 以k字节的形式表示文件的大小。(1k=1
Disk is a very important resource in Linux system, how to effectively manage it directly affects the performance of the whole system. For Linux Disk Management There are a few learning and experience friends who should be aware of the three common commands for DF, Du, and fdisk: DF is used to check file system disk usage, du checks disk space usage, and fdisk is used for disk partitioning.1. DfThe
One, view disk space situation DFThe DF command is used to view hard disk space usage, as well as to see the type of hard disk partition or the usage of inode nodes.The common parameters of the DF command are as follows:-a 显示所有文件系统的磁盘使用情况,包括0块(block)的文件系统,如 /proc 文件系统-k 以 k 字节为单位显示-i 显示 i 节点信息,而不是磁盘块-t 显示各指定类型的文件系统的磁盘空间使用情况-x 列出不是某一指定类型文件系统的磁盘空间的使用情况(与 t 选项相反)-T 显示文件系统类型The
commands:1, and user-related configuration file knowledge points:/etc/passwd account files and different column contents/etc/shadow account password file and different column contents/etc/group groups of files and different column contents/etc/gshadow group password file and different column contents2. User Management commandsUseradd-u-g-g-s-m-e-c-DCorrespondence/etc/skel,/etc/default/useradd,/etc/login.defsUserdel-rUsermod-u-g-g-s-m-e-c-d-l-u-lIdChage-l-e-m-w-m-I.passwd--stdin-n-i-w-X (suid-bi
Environment: Centos 6.5Today, there is a strange thing is that df-h when viewing disk space, the display uses a space of 100%, unable to write to the disk, but when viewed with du-sh/home/*, the sum of space used is about 20%.650) this.width=650; "style=" Float:none; "title=" 1.png "alt=" wkiol1b_8u_y4mmjaaiaejkdh90184.png "src="/HTTP/ S2.51cto.com/wyfs02/m02/7e/70/wkiol1b_8u_y4mmjaaiaejkdh90184.png "/>650) this.width=650; "style=" Float:none; "title=
Df:disk free, which counts the disks that are idle in the current systemDu:disk usage, which counts the idle disk being used.If a file is deleted and the process using the file is not restarted, then there is a case of DF and du inconsistencies.Workaround:1. Run Command lsof | grep deleted lists all files that have been deleted but are still occupied by the process2. Kill the process that occupies the deleted file.Reference1. http://www.cnblogs.com/he
Df Command help informationUsage: df [Option]... [file]...Displays information about each file system. By default, all file systems are displayed.Long Options are required when short options are used.Option-A, -- all includes a file system with a size of 0 blocks.-B, -- block-size = The size block is measured in specified bytes.-H, -- human-readable print the file system size in an easy-to-understand format
later, that is mp3 in this example)Landlord does not have mp3 placed in the Linux inside, so the output is deployed, the format of reference to the default du command
Next is the DF command, check the disk utilizationDfTyping the above, outputs a table consisting of 6 columns. All the columns is very easy to understand. Remember the ' Size ', ' used ' and ' Avail ' columns use kilobytes as the unit. The ' use% ' column shows the usage as a perc
(i) View file system space usage: DF
syntax Format
DF [-h] File/directory name/omit displays the file or directory where the file system disk space usage
parameter explanation:-
H Display with a more readable capacity format rendering (g/m/k), automatic selection of displayed unit size
(ii) View the capacity of the directory: Du
syntax format
du [-ahskm] file or directory name
parameter explana
Found a user's computer, DF check out/disk space occupied 16G, than with du view to get more disk space, du view/under All program directory add up to less than 5G. What is the reason for this?Even if there is a hidden file, check it is very small ah. Because DF and du do not have the same statistical mechanism. Du will count all files, directories, and directories under the specified directory. is based on
During the Linux operations, it is often found that the Du and DF return values are different, and occasionally the difference is significant.In certain cases, DF may see the disk full, but du determines that the disk has a large amount of space left.File system allocation Some of the disk blocks used to record some of its own data, such as I node, disk distribution map, indirect blocks, super blocks and so
The function of the DF command in Linux is to check the disk space usage of the Linux server's file system. You can use this command to get information about how much space the hard disk is taking up, and how much space is left. 1. Command format: DF [Options] [file] 2. Command function: Displays the free space for the specified disk file. If no file name is specified, all available space for the currently
Tags: SSD linu mount Pre Window Profile system problem Linux systemResolve issues such as AWS mounting, resolving hangs, and disappearingThere is a difference between a disk on Linux and a window, which must be mounted on a directory, otherwise uselessThe actions on the new hard disk, SSD, and Mount to Linux are as follows :Df-h #显示目前在Linux系统上的文件系统的磁盘使用情况统计.lsblk # list block device information (volumes that df
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.