리눅스 SWAP SIZE 변경

[ad_1]

반응형

# sudo swapon -s
Filename                Type        Size    Used    Priority
/swapfile                               file        1048572 0   -1
# sudo swapoff /swapfile
# sudo fallocate -l 4G /swapfile
# sudo mkswap /swapfile
Setting up swapspace version 1, size = 4194300 KiB
no label, UUID=fb0aadaf-b52f-4928-b57f-c60ef7a0bd49
# sudo swapon /swapfile
# sudo swapon -s
Filename                Type        Size    Used    Priority
/swapfile                               file        4194300 0   -1

 

반응형

[ad_2]

Source link

0 0 votes
별점
guest
1 댓글
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
binance
binance
1 day ago

Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

1
0
Would love your thoughts, please comment.x
()
x