当前位置:网站首页>07 DF command
07 DF command
2022-07-26 22:03:00 【Blue wind 9】
Preface
ha-ha This command Should be linux Users Basically, I will use it ?
ha-ha Here we are mainly to glance at How does this command work
main Mainly parameter processing , adopt read_file_system_list Read file system list , get_all_entries Get the information of each file system , print_table To output the information of each file system
read_file_system_list By reading the /proc/self/mountinfo perhaps getmntinfo To read the list of mounted file systems
get_all_entries Show columns as needed , Get the corresponding data item , fs, size, used, avail, mount_point etc.
print_table Output relevant information of each file system
be based on linux-4.4.0 + coreutils-8.25
Debugging is command based "df -h"
main
Processing parameters , adopt read_file_system_list Read file system list , get_all_entries Get the information of each file system , print_table To output the information of each file system

read_file_system_list
By reading the /proc/self/mountinfo perhaps getmntinfo To read the list of mounted file systems

get_all_entries
Show columns as needed , Get the corresponding data item , fs, size, used, avail, mount_point etc.

print_table
Output table[row][col]

End
边栏推荐
- In depth analysis of the source code, why is the string class immutable? (hit me before you understand)
- Pytoch -- used by visdom
- Content management tools, blue bookmarks are enough
- Dream weaving prompt dedecms error:tag disabled:php!
- FreeRTOS personal notes - Software Timer
- Isilon 的OneFs常见操作命令(一)
- Go ---- variable usage in go language
- In depth interpretation of happens before principle
- 按关键字搜索易贝商品 API
- Xshell7 personal free download, use
猜你喜欢

Thorough load balancing

Matlab pitch period estimation post-processing

JS 延迟执行window.onload

matlab 画短时平均幅度谱

Also on Data Governance

Oppo self-developed large-scale knowledge map and its application in digital intelligence engineering

Logical vulnerability - arbitrary account registration

The principle of normal equation method and its difference from gradient descent method

JDBC operation and entry case of MySQL

深入源码剖析String类为什么不可变?(还不明白就来打我)
随机推荐
Altium designer 22 Chinese character garbled
按关键字搜索易贝商品 API
Operating guidelines and suggestions for spot gold (Part 1)
Japan approves the export of EUV photoresist to South Korea, and the crisis of Samsung and SK Hynix may be alleviated
My SQL is OK. Why is it still so slow? MySQL locking rules
Summer vacation daily question week 7:7.18 - 7.24
Vb.net chart1 processing
I successfully landed the automatic testing post, with a maximum monthly salary of 15.4k. I'm great~
What to do if the browser home page is tampered with, and how to recover if the home page is tampered with
Highlight the secondary and tertiary columns under the primary column of pbootcms
伦敦银外汇走势理解与实操
Also on Data Governance
Flink 在讯飞 AI 营销业务的实时数据分析实践
Xshell7 personal free download, use
Samsung releases 108million pixel image sensor isocell bright HMX, and Xiaomi will launch
Schematic diagram of MOS tube
Implementation of MATLAB short-time autocorrelation
Is it safe to open an account on flush? How to choose a securities firm for opening an account
Method overloading and method rewriting
Technology sharing | do you know the functions of the server interface automated testing and requests library?