- 1、本文档共14页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ubuntu磁盘状态查看(国外英文资料)
ubuntu磁盘状态查看(国外英文资料)
One, to view the disk state
Here are two simple commands: df, du.
Df: df is used to check the disk space footprint of the file system. You can use this command to get how much space your hard disk is occupied and how much space is left. The parameters of the df are: code:
- a shows the disk usage of all file systems, including the 0 block (block) file system, such as the/proc file system.
-k is shown in k bytes.
- I displays the I node information, not the disk block.
-t shows the disk space usage for each specified type of file system.
-x lists not the disk space usage of a specified type file system (as opposed to the t option).
The -t shows the file system type. A detailed solution to the df command:
Reference:
Dongmh @ home: ~ $df
Filesystem 1K - block has been used with % mount point
/ dev/sda12 3842376 3404764 /
This is the most basic usage, you may feel strange has been used and can be used together is not equal to the value of the block in front of, this is because the default situation, there are specialized for root reserve space for maintenance and management, dont care. Other USES are simply adding different parameters to display different information, no longer being repeated.
Du: du is used for statistical directory or file size of disk space. Its parameters are as follows: code:
-s gives only the total number of data blocks per name parameter.
The -a recursively displays the number of data taken from each file in the specified directory and the files in the childrens directory.
If you do not specify -s or specify -a, you will only display the number of disks in each directory in Names and their subdirectories.
-b lists disk space usage in bytes (the system defaults to k bytes).
-k lists disk space usage in 1024 bytes.
-c finally adds a total (system default setting).
-l calculates the file size of the file, and calculates the hard link file multiple times.
-x skips directories on different file systems.
Second, Ubuntu h
您可能关注的文档
最近下载
- 2023-2024学年浙江省杭州市八区县小升初数学试卷(解析版).docx
- TCECS 1240-2023 弃土场工程技术规程.docx VIP
- 《中国建筑的特征》课件(共47张PPT)统编版高中语文必修下册.pdf VIP
- 2025年全国航空航天模型锦标赛竞赛规则.pdf VIP
- 最后一片叶子英文剧本.docx
- 地下铁道施工技术课件:基坑的围护结构-排桩.ppt VIP
- 高中地理选择性必修2全册各章节课时练习题及章末综合测验 含解析.pdf VIP
- 小时工劳务合同范本(2024版).docx
- 湖北工业大学2023-2024学年第2学期《高等数学(下)》期末试卷(A卷)附标准答案.pdf
- 河道开挖工程施工组织设计(184页).docx VIP
文档评论(0)