I have issue regarding my swap size.
When I issue htop
I get this output showing that I only have 2 GB of swap space:
Also when I check system monitor:
But, If I check the swap partition using Gparted
, it is showing that I have 21 GB of swap space:
Also the output of swapon -s
is:
Filename Type Size Used Priority
/swapfile file 2097148 0 -2
Why Ubuntu isn't using all available swap space and just using 2GB?