In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "what does linux df acronym refer to". Interested friends might as well take a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn what the linux df acronym refers to.
Df is the abbreviation of "disk free", which is used to show the hard disk usage of each file system in the Linux system, including the total capacity of the hard disk partition where the file system resides, the used capacity, the remaining capacity, etc.; the syntax is "df [option] [directory or file name]". If all parameters are omitted, all file system information in the system is displayed by default.
The operating environment of this tutorial: CentOS 6 system, Dell G3 computer.
The Linux df (English spelling: disk free) command is used to display the hard disk usage of each file system in the Linux system, including the total capacity of the hard disk partition where the file system resides, the used capacity, the remaining capacity, and so on.
Description: the data related to the entire file system are saved in Super block (super block), while the data read by the df command is almost all aimed at the entire file system, so the df command mainly reads data from the Super block of each file system.
The basic format of the df command is:
Df [option] [directory or file name]
Table 1 lists several common options for the df command and their respective roles.
Table 1 Common options and functions of the df command-a displays all file system information, including system-specific / proc, / sysfs and other file systems;-m displays capacity in MB;-k displays capacity in KB, default in KB;-h displays capacity in KB, MB, or GB units that people are used to
-T
Displays the file system name of the partition;-I is not displayed by hard disk capacity, but by the number of inode.
If you omit all the parameters and directly execute the "df" statement, the default will display all the file system information in the system in units of KB.
# df
Analysis: the meaning of the columns of information displayed by the df command
Filesystem: indicates the partition in which the file system is located, so this column shows the device name
1K-blocks: this column represents the total size of the file system, which is measured in KB by default
Used: indicates the amount of hard disk space used
Available: indicates the amount of space left on the hard disk
Use%: hard disk space utilization. If the utilization rate is more than 90%, extra attention is needed, because insufficient capacity will seriously affect the normal operation of the system.
Mounted on: the mount point of the file system, that is, the directory location where the hard disk is mounted.
Examples of use:
1. The df command is followed by-h option
The various capacity data of the file system are displayed in units that people are used to (usually using GB or MB).
# df-h
2. Add the directory name after the df command
# df-h / etc
In this case, the df command automatically analyzes the partition in which the directory is located and displays information about the partition. From this, we can know how much more capacity can be used in this directory.
3. The df command is followed by several options
# df-aT
Note that using the-an option, many special file systems are displayed, which contain mostly system data, exist in memory, and do not take up hard disk space, so you will see that they occupy a total capacity of 0 hard drives.
At this point, I believe you have a deeper understanding of what the linux df acronym refers to. You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.