Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to find the size of swap partition in Ubuntu

📅 2013-Mar-18 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ partition, ubuntu ⬩ 📚 Archive

The total amount of swap space in a Ubuntu system can be found easily from the commandline:

$ grep SwapTotal /proc/meminfo

Tried with: Ubuntu 12.04.2 LTS


© 2023 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧