리눅스 스왑공간 추가하기

(리눅스 스왑 크기 조정하기에서 넘어옴)

1 개요[ | ]

리눅스 스왑 크기 조정하기
리눅스 스왑 크기 늘리기

2 확인[ | ]

root@zetawiki:~# free
              total        used        free      shared  buff/cache   available
Mem:        1014536      682704       12604        4016      319228      286928
Swap:       1952764     1952764           0
root@zetawiki:~# swapon -s
Filename				Type		Size	Used	Priority
/dev/xvda2                             	partition	1952764	1952764	-1
root@zetawiki:~# fdisk -l
Disk /dev/xvda: 20 GiB, 21474836480 bytes, 41943040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xd46f802b

Device     Boot   Start      End  Sectors  Size Id Type
/dev/xvda1         2048  1953791  1951744  953M 83 Linux
/dev/xvda2      1953792  5859327  3905536  1.9G 82 Linux swap / Solaris
/dev/xvda3      5859328 41940991 36081664 17.2G 83 Linux

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}