博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
mount, findmnt,df命令
阅读量:5764 次
发布时间:2019-06-18

本文共 1806 字,大约阅读时间需要 6 分钟。

■    The  mount  command gives an overview of all mounted devices. To get this information, the /proc/mounts file is read, where the kernel keeps information about all current mounts. It shows kernel interfaces also, which may lead to a long list of mounted devices being displayed.

■   The  df -Th  command was designed to show available disk space on mounted devices; it includes most of the system mounts. Because it will look on all mounted file systems, it is a convenient command to get an overview of current system mounts. The  -h  option summarizes the output of the command in a human-readable way, and the  -T  option shows which file system type is used on the different mounts.    

The output of  df  is shown in seven columns:    

■    Filesystem:     The name of the device file that interacts with the disk device that is used. The real devices in the output start with /dev (which refers to the directory that is used to store device files). You can also see a couple of tmpfs devices. These are kernel devices that are used to create a temporary file system in RAM.    
■    Type:     The type of file system that was used.    
■    Size:     The size of the mounted device.    
■    Used:     The amount of disk space the device has in use.    
■    Avail:     The amount of unused disk space.    
■    Use%:     The percentage of the device that currently is in use.    
■    Mounted on:     The directory the device currently is mounted on.      
Note that when using the  df  command, the sizes are reported in kibibytes. The option  -m  will display these in mebibytes, and using  -h  will use a human-readable format in KiB, MiB, GiB, TiB, or PiB.

■   The  findmnt  command shows mounts and the relation that exists between the different mounts. Because the output of the  mount  command is a bit overwhelming, you may like the output of  findmnt .  Listing   3.2    shows sample output of this command.  

转载地址:http://wkwux.baihongyu.com/

你可能感兴趣的文章
【转】临界区、互斥量、信号灯、事件
查看>>
lyui 列表 上传
查看>>
Juqery ready的几种写法
查看>>
Java编程思想(第4版)读书笔记——02
查看>>
软件工程第四次作业
查看>>
[软考]之进程调度 ...
查看>>
HTTP与HTTPS的区别
查看>>
带参数的函数装饰器
查看>>
家庭作业补充
查看>>
HTML之禁止输入文本
查看>>
mysql报错问题解决MySQL server PID file could not be found!
查看>>
孕三十六周第五天
查看>>
【算法学习笔记】43.动态规划 逆向思维 SJTU OJ 1012 增长率问题
查看>>
P2158 [SDOI2008]仪仗队
查看>>
P1313 计算系数
查看>>
前端性能优化(七)
查看>>
C#程序访问PostgreSQL数据库
查看>>
Sql Jions 的简易理解
查看>>
WML处理---H_wml.php
查看>>
WSS开发,搜索(SPQuery)时出现Invalid column name c2错误 (转载)
查看>>