说说在 Linux 中,如何查看磁盘空间使用状况

能够使用 df 命令来查看磁盘空间使用状况。df 是 display file 的缩写。less

英文说明以下:spa

This manual page documents the GNU version of df. df displays the amount of disk space available on the file system containing each file name argument. If no file name is given, the space available on all currently mounted file systems is shown. Disk space is shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used.cdn

咱们通常会带上 -h 参数,-h 是 --human-readable 的简写。它会以咱们可读的容量单位来展现占用的磁盘空间大小。好比 1K 234M 2G 等等。blog

列名 说明
Filesytem 文件系统名
Size 总大小
Used 已用大小
Avail 可用大小
Used% 已用百分比
Mounted on 挂载点

是否是很简单呀 O(∩_∩)O哈哈~it

相关文章
相关标签/搜索