mount -l和df -h到底有何区别呢?

[liuqiang2@mu02 ~]$ mount -l
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /sys/kernel/config type configfs (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.1.51:/public on /public type nfs (rw,vers=3,addr=192.168.1.51)
nfsd on /proc/fs/nfsd type nfsd (rw)
192.168.1.51@tcp:/lustre on /lustre type lustre (rw)
/lustre/home on /home type none (rw,bind)
 
[liuqiang2@mu02 ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             244G  117G  115G  51% /
tmpfs                  16G     0   16G   0% /dev/shm
/dev/sda1             291M   37M  239M  14% /boot
192.168.1.51:/public   20T  903G   19T   5% /public
192.168.1.51@tcp:/lustre
                      108T  586G  102T   1% /lustre

嗯,一个是看磁盘空间利用率,一个是看目录结构。

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐