Linux displays the list of mounted partitions and disk usage

class:Linux views:100 Author:xiaomo314
Command
df -h
Explanation
-h: Display the size of the file more humanely, the unit is G, M, K.
Operation result
[root@k8s-node-24 dracut]# df -h
Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                 3.8G     0  3.8G   0% /dev
tmpfs                    3.8G     0  3.8G   0% /dev/shm
tmpfs                    3.8G  425M  3.4G  12% /run
tmpfs                    3.8G     0  3.8G   0% /sys/fs/cgroup
/dev/mapper/centos-root   50G  5.9G   45G  12% /
/dev/sda1               1014M  196M  819M  20% /boot
/dev/mapper/centos-home   61G  182M   61G   1% /home
tmpfs                    770M     0  770M   0% /run/user/0

This platform is gradually under construction, more development orders are gradually included, any questions or Suggestions can be Contact Us