The df command in Linux and other-general Linux technology-Linux technology and application information. The following is a detailed description. I have an AIX and Linux environment at hand. df is a frequently used system command. This small command is quite different in different environments. For example, the "-v" parameter can be used with-k-m-g and other parameters on AIX to display more readable information, linux only retains "-V" to be compatible with the df command of System v ". Similar commands on Linux are "-B", which can be connected to k, m, g, etc. For example, df-Bg is displayed in GB. If such a hybrid environment is maintained at the same time, "compatibility" should also be considered in the use of commands ".
I used to introduce GNU Core tools, but I didn't introduce the interesting FAQ about GNU Core Utilities. I read it again two days ago. A little new content. For example, the classic question "Why does df and du display differently in Linux" (I once met it myself) has provided an authoritative clue on the FAQ: df and du report different information.
What I want to add here is that on a large file system, data blocks reserved for Super Users may also be confused. The default value is 5%. If the file system is large, the waste here is still astonishing. We need to weigh the actual situation. This will also affect the display of df. If you need to modify the file system when creating a file system, use the "-m" parameter to specify a specific percentage.
Although Unix is used almost every day, there are always countless blind spots in knowledge.
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.