top of page

Set up Swap บน ubuntu เบื้องต้น

  • Writer: anusit.p38
    anusit.p38
  • Dec 17, 2018
  • 1 min read

การเปิดใช้งาน swap คือการดึงฮาร์ดดิสบางส่วนมาทำงานเป็น ram สำรองเพื่อช่วยในการประมวลผลซึ่งจะถูกใช้ก็ต่อเมื่อ ram ในเครื่องจริงๆ ถูกใช้งานจนหมดแล้ว

ใช้คำสั่ง free เพื่อเช็คค่าของ Swap จะเห็นว่าใน ram มีส่วนของ swap อยู่ซึ่งตอนนี้เป็น 0

คำสั่งเปิด Swap $ swapon -a

คำสั่งปิด Swap $ swapoff -a

แหล่งที่มา : https://tecadmin.net/enable-swap-on-ubuntu/

Comments


Recent Posts
Archive
Search By Tags
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page