*** 명령어 ***
1. df => 디스크 용량확인
ex)
root@testserver:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 18447100 4281368 13205632 25% /
none 4 0 4 0% /sys/fs/cgroup
udev 1023452 4 1023448 1% /dev
tmpfs 206732 1072 205660 1% /run
none 5120 4 5116 1% /run/lock
none 1033656 0 1033656 0% /run/shm
none 102400 0 102400 0% /run/user
/dev/sdb1 20510332 44992 19400432 1% /data
2. df -h => 디스크 용량을 M(메가), G(기가) 단위로 환산하여 표시
ex)
root@testserver:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 18G 4.1G 13G 25% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 1000M 4.0K 1000M 1% /dev
tmpfs 202M 1.1M 201M 1% /run
none 5.0M 4.0K 5.0M 1% /run/lock
none 1010M 0 1010M 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sdb1 20G 44M 19G 1% /data