Df command help usage: df [option]... [file]... the information of each file system is displayed. by default, all file system length options must be used when short options are used. option-a and -- all include the help information of the file system-B with 0 blocks and the -- bloc df command.
Usage: df [option]... [f
)--si is similar to-H, but uses 1000 as the base instead of 1024 when calculating- k equals--block-size=1k-L, --count-links If it is a hard connection, calculate its dimensions multiple times- m equals--block-size=1m-L, --dereference Find out the true destination of any symbolic link indication-P, --no-dereference does not follow any symbolic link (default)-0,--null each blank line as 0 bytes instead of line break4 . Command instance:1, calculate the file size in/etc directory[Email prot
When you have identified and removed the bulk file from the Linux system, then use DF-H to see if the usage remains the same. You can try the following methods to solve1. Find out which deleted files the process is occupying# See which processes are still being consumed by the files ls -ld /proc/*/fd/* 2>1 | fgrep ' (deleted)2. After consideration, execute the KILL command3. Execute DF to see if it has been
/log/sms/bak]$ TAR-ZXVF sms_mt.tar.gz
Unpack the SMS_MT.TAR.BZ2 package.
root@[/mas/log/sms/bak]$ TAR-JXVF sms_mt.tar.bz2
1.2 telnet command (SSH)telnet command: SSH login user @ip-p port
For example: Log on to the 172.16.9.28 server from a server, SSH port is 8015
root@[/root]$ SSH mas@172.16.9.28-p8015
mas@172.16.9.28 ' s password: (the MAS user password for 172.16.9.28 server is filled in here)
Last login:wed Aug 5 09:04:11 2009 from 172.18.25.203
mas@[/mas]$
1.3 Remote Transfer Command (SC
DF-HL View disk remaining space
Du-sm folder
Returns the total m of this folder
More features please view:
DF--help
Du--help
Du-sh (the name of this directory) is the size of this directory.
Use the du command to view a directory, such as viewing the/home/kuuyee directory for disk space size you can use the following command:
# Du/home/kuuyee-sh
There are hundreds of build projects in my home direc
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
I previously wrote a system to monitor the remaining space on the disk script, today it sent me to the police, so I log on to the server to view, the results found that DF and du looked out of the results are different, du looked out of the "actual use of space" is much smaller than the DF found in the use of space, which is why? Is there some space hidden?Finally, the power of the internet to solve the "st
The following describes the 60 required Linux commands that must be mastered by new users. If you have mastered these commands, your technology will be greatly improved, we hope that the technology will be greatly improved after reading this article.
System Management command:
System Management commands required for Linux
For Linux systems, whether it is a central processor, memory, disk drive, keyboard, mouse, or user, it is a file. Linux system management commands are the core of its normal op
Today encountered a very strange problem, in a Linux execution df-h view disk usage, found that card into a dog, and then proceed to solve:1, through strace df-h tracking is where the card[[Emailprotected]_web~]#stracedf-hexecve ("/bin/df", ["DF", "-H"], [/*22vars*/]) =0brk (0) =0x2307000mmap (null,4096,prot_read| pr
The difference between Du and DF:Du statistics File size addition, DF statistic block usage, if there is a process in the open a large file, the large file directly by RM or MV dropped, then du will update the statistical value, DF will not update the statistics, or think that the space is not released. Until the process of opening the large file was killed. The problem we encountered was that we periodical
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
DF
Syntax: DF [-ahikmt]Note: displays the status of the file system or displays the status of all file systems (default value)
Parameters:
-A, -- all contains all file systems with 0 blocks-H, -- human-readable uses a human-readable format (the preset value does not include this option ...)-I, -- inodes: List inode information, not list used Blocks-K, -- kilobytes is like -- block-size = 1024-M, -- megabyte
One linux Command every day (33): df command link: One linux Command every day (1): ls command http://www.bkjia.com/ OS /201210/163049.html#linuxlinuxcommand every day (2): cd command serial (3 ): pwd command Export (4): mkdir command http://www.bkjia.com/ OS /201210/1620.3.html#a linuxcommand every day (5): rm command Export (6): rmdir command http://www.bkjia.com/ OS /201210/164017.h Tml; one linux Command every day (7): mv command running (8): cp c
Linux large files have been deleted, but df does not reduce the used space.Linux large files have been deleted, but df does not reduce the used space.
When the disk is full, you are about to delete some large files.
So I used ncdu to check the files that are currently occupying a large amount of resources in the system. If they are at the source, delete them,Check the disk situation with joy.
The disk does
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.