웹마스터
리눅스 (Linux) - 디스크 용량 확인 하기
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 2014656 0 2014656 0% /dev
tmpfs 404512 41300 363212 11% /run
/dev/xvda1 81254044 38043756 43193904 47% /
tmpfs 2022540 0 2022540 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 2022540 0 2022540 0% /sys/fs/cgroup
/dev/loop1 63232 63232 0 100% /snap/core20/1026
tmpfs 404512 0 404512 0% /run/user/1000
/dev/loop2 63360 63360 0 100% /snap/core20/1081
/dev/loop4 33152 33152 0 100% /snap/snapd/12704
/dev/loop6 43520 43520 0 100% /snap/certbot/1343
/dev/loop5 33152 33152 0 100% /snap/snapd/12883
/dev/loop0 43392 43392 0 100% /snap/certbot/1434
$ df .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 81254044 38043804 43193856 47% /
df -k .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 81254044 38044372 43193288 47% /
$ du -s -h
32G .
0개 댓글