How to off and on swap memory on linux machine


Mellow Player is a Cross-Platform Qt Cloud Music desktop application with web-based music streaming services to get your favorite music lists to your system.

$ sudo free -m

In my system Swap memory is 2047 MB Now we have to off this memory

First uncomment the entry of swap machine In fstab

$ sudo vi /etc/fstab
$ sudo comment the swapfile

comment the swap file

Now off your swap memory

$ sudo swapoff -a

Now your swap memory is off permanent

If you want to on again uncomment the spap file line in fstab

And on the swap memory

$ sudo swapon -a

Now your swap memory is visible

$ sudo free -m


You may also like...

Leave a Reply

Your email address will not be published.