10 07 2015
Linux – 폴더별 용량 du, df
전체용량
du -sh
1 2 |
# du -sh 28G . |
1 2 3 4 5 6 7 8 9 |
[root@web1 temp]# du -sh * 121M abc 6.7G support 141M aaabulletin 2.3G photoadmin |
현재폴더위 위치에서 첫번째 폴더
du -h –max-depth=1(두번째는 2)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# du -h --max-depth=1 110M ./php 2.6M ./oraInventory 16M ./apache-tomcat-7 7.9M ./apache-maven-3.2.1 1.4G ./nginx 13M ./openssl 378M ./service 213M ./jboss-as 5.6G ./install 15M ./apache-tomcat-8 117M ./php_bak 40M ./apache-ant-1.9.3 8.9G ./devtool 1.4G ./mysql 16K ./lost+found 110M ./httpd 14M ./apache-tomcat-6.0.44 9.3G ./oracle 28G . |
1 2 3 4 5 6 7 8 |
#df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 103212320 42907052 55062388 44% / tmpfs 16425208 8161240 8263968 50% /dev/shm /dev/sda2 206424760 28875952 167063048 15% /a*** /dev/sda1 198337 61963 126134 33% /boot /dev/sda6 1546964244 33091620 1435291376 3% /d*** /dev/sdb1 1922859824 267390628 1557793524 15% /s*** |
1 2 3 4 5 6 7 8 |
# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 99G 41G 53G 44% / tmpfs 16G 7.8G 7.9G 50% /dev/shm /dev/sda2 197G 28G 160G 15% /app /dev/sda1 194M 61M 124M 33% /boot /dev/sda6 1.5T 32G 1.4T 3% /data /dev/sdb1 1.8T 256G 1.5T 15% /storage |
NGINX install on Ubuntu Ubuntu – The APR based Apache Tomcat Native library which allows optimal ~ APR 못차는 에러