320x100
리눅스 용량확인
보통 df명령을 사용한다.
[root@test ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 13888660 6175888 6995876 47% /
/dev/sda1 124427 16230 101773 14% /boot
tmpfs 8255044 0 8255044 0% /dev/shm
/dev/sda7 2030736 35932 1889984 2% /tmp
/dev/sda6 4061540 73852 3778044 2% /user
/dev/sda8 250162872 91740956 145509276 39% /work
더 자세하게 디렉토리별로 용량을 알고 싶다면
[root@test ~ ]# du -hs /tmp/
68K /tmp/
이렇게 용량확인이 가능하다.
모든 디렉토리를 확인하고 싶다면(list출력)
[root@test ~ ]# du -h
모든 디렉토리를 확인하고 싶다면
[root@test ~ ]# du -hs
용량이 큰 것 순으로 10개 보고 싶다면
[root@test ~ ]# du -h | tail -10
# du -h --max-depth=1
728x90
320x100
'Linux' 카테고리의 다른 글
xterm unknown terminal type (0) | 2013.07.31 |
---|---|
/etc/sudoers is mode 0644 should be 0440 (0) | 2013.07.30 |
ubuntu 13.04 설치시 문제점(2T이상,한글) (0) | 2013.07.25 |
리눅스에서 ntfs mount 하기 (0) | 2013.07.18 |
ext3_get_inode_loc unable to read inode block error (0) | 2013.07.04 |