linux 查看磁盘信息

一、查看磁盘和分区

ACCB947E:Home zhangsan$ df -h
Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1     233Gi  183Gi   50Gi    79% 1204805 4293762474    0%   /
devfs          184Ki  184Ki    0Bi   100%     637          0  100%   /dev
map -hosts       0Bi    0Bi    0Bi   100%       0          0  100%   /net
map auto_home    0Bi    0Bi    0Bi   100%       0          0  100%   /home


二、查看硬盘信息

ACCB947E:Home muyl$ df -lh
Filesystem   Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1  233Gi  183Gi   50Gi    79% 1204807 4293762472    0%   /

  

 

转载于:https://www.cnblogs.com/muyl/p/7290096.html

你可能感兴趣的:(linux 查看磁盘信息)