1. Review: An online host late-night continuously received alarm system disk used overrun alarm. Login host View But encountered confusion: in check disk usage df–h out of the disk usage is exactly the same as the alarm information, has been occupied by 100%, but to view the directory Size Du, but show the actual directory size is not the case, but there is a lot of free space. Disk usage df–h result is 10
Df-h user-friendly display file system partition informationNote: The directory in Linux is also a file, do not confuse the following directory file to say.The traditional way to view the file size can be used: ll-h/directory/file name, you can see the size of the file, but if you want to see the size of a directory, using the command: ll-h/directory, can only view the current directory information size, rather than the current directory of all the co
Tags: Log df command sys system proc IMA FFFFFF Learning Note containsFirst, DF#查看文件系统的使用情况The Tmpfs end of the first column of the file system is a temporary file system, with the default file units being kbdf -hAutomatically adapts to file size unitsFreeYou can see how swap is useddf -iView the usage of each partition inodeSometimes the memory of the disk is still remaining, but can not write new files, t
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
DfUsage: DF [options] ... [File] ...Displays information about the file system where each file resides, showing all file systems by defaultCommon options-h,–human-readable size display for human readable form (e.g., 1K 234M 2G)Example[root@www ~]# df -h文件系统 容量 已用 可用 已用% 挂载点/dev/sda1 94G 21G 68G 24% /tmpfs 1014M 01014M 0% /dev/shmDuUsage: du [options] ...
DF (disk free)function Description:displays information about the disk. Syntax:DF [-ahhiklmpt][--block-size=Additional notes:DF Displays the disk's file system and usage scenarios. Parameters:-A or--all contains all file systems. --block-size=-H or--human-readable displays information in a more readable way. -H or--si is the same as the-h parameter, but is calculated as Bytes instead of the Bytes. -I or--inodes displays the inode information. -K or--k
used (such as the use of disk space is 100% of the case of processing), which is why some disk space is not available to ordinary users.Such as:$ df-hl/dev/sda6Filesystem Size used Avail use% mounted on/dev/sda6 42G 34G 5.8G 86%/linux/sda6$tune2fs-m 0/dev/sda6TUNE2FS 1.41.3 (12-oct-2008)Setting reserved blocks percentage to 0% (0 blocks)$ df-hl/dev/sda6Filesystem Size used Avail use% mounted on/dev/sda6 42
Figure 2.A. RoleThe free command is used to display memory usage, and the use of permissions is for all users.B. Formatfree [-b|-k|-m] [-O] [-s delay] [-t] [-v]C. Main parameters-b-k-M: Displays memory usage in bytes (KB, MB), respectively.-S delay: Displays the number of seconds per second to show memory usage.-T: Displays the memory sum column.-O: Do not display buffer throttling columns.D. Application examplesThe free command is the primary command used to view memory usage. Compared to the
This is where you use a LIUNX command to view disk space
Df:disk Free http://www.cnblogs.com/chenwenbiao/archive/2011/08/07/2129831.html
Common parameters: Df-h
-------------------------------------
1. Restart the Postgre under Linux
Pg_ctl Restart (postgres user)
Today's problems
Because the data is imported, the database keeps generating backup files, which fills up the space
Cannot continue to boot.
Workaround:
The directory structure where the b
Http://www.cnblogs.com/itech/archive/2012/05/15/2502284.html
The DF command is used to display the available disk space on a disk partition. The default display unit is KB. You can use this command to get how much space the hard disk is occupied and how much space is left.
When the system disk is full, the most common command to view system space is df-i display inode information Di-ah m for the unit displa
Click Back to learn the path of the Linux command line and shell script4.2-Monitoring disk space Mount Umount DF dulsThe command is used to display a list of file directories, Windows similar to the commands under the system DOS dir . When you execute a ls command, the default display is only the file name of the non-hidden files, the sort by file name, and the color displayed by the file name.List information for the current directory is listed by de
Identifier,app ID for the iOS app is divided into a wildcard app ID and a clear app ID in the Apple Developer Center, which is typically used for general application development, and an ID can be applied to multiple different identity applications But for apps that use services such as message push, Passbook, site Publishing, icloud, you must configure an explicit app ID.Device identificationUDID, an identifier used to identify each hardware device. Note that it is not a device Token,device tok
Appears df:cannot read table of mounted file systems, using Grep-v rootfs/proc/mounts >/etc/mtab After resolution, this way to do the next record.Here's a look at the differences and connections between/etc/fstab and/etc/mtab.The role of the/etc/fstab file records information about the hard disk partition on the computer, and when Linux is started, the fsck command to check the partition and Mount command to mount the partition require the information in the fstab to properly check and mount the
With lsof/| Grep-i Delete deleted files that are located from the root directory that are openedIf locating a file takes up a lot of spaceMainly because we delete this log file by the RM-RF *.log such a command to delete, delete the log and not restart the corresponding process, resulting in the Inode node is not released, space has been occupied.If we use the echo "" >/logpath/201109.log command to empty the logRelated tools:Df-hDu-hDu-shDu-h--max-depth=1Lsof/| Grep-i DeleteLsof Abc.txt shows 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.