[root@ns♥Sunny♥/]# df -ha ==> 용량 확인
[root@ns♥Sunny♥/]# du -hs ==> -h -s <전체 총 용량만>
[root@ns♥Sunny♥/]# du -hs Sunny ==> <원하는 디렉만 용량 확인>
[root@ns♥Sunny♥/]# fdisk -l /dev/cciss/c0d0<스카시>
==> 전체 디스크 파티션 상태 확인
[root@ns♥Sunny♥/]# free -mt
[root@ns♥Sunny♥/]# dd if=/dev/zero of=tempswap bs=1k count=300000
==> 스왑공간 생성
[root@ns♥Sunny♥/]# chmod 600 tempswap ; mke2fs tempswap ; mkswap tempswap ; swapon tempswap ==> 스왑공간 추가 방법
[root@ns♥Sunny♥/]# free -mt ==> 시스템 전체 메모리 용량 모니터

 

+ Recent posts