swap file and swap partition
by sofasurfer from LinuxQuestions.org on (#5GZ0H)
I have Ubuntu 20.04. When I installed it a swap partition was created, I also have a swap file. I can tell by the 'free' command that my swap file is being used. How can I tell if my swap partition is being used? Since I have a swap file, should I delete my swap partition? Why do I have both? I am short on RAM, so should I increase the size of my swap file or swap partition or both?

