We can check the swap space using the below command:


The "proc" filesystem, is a virtual filesystem that lives in memory and contains information about the running system, organized in different directories and files.

We could use a file for example for the swap space using the below command:


Then we create a  swap file out of the space we secured above, using the below command:


Finally, we turn our swap space on, using the below command:


We check that our newly added swap space was taken into consideration by our system using the below command:


Brando Sabatini and Ikbal C ©. Powered by Blogger.