Today I noticed that I found the following thing:
As you can see the RAM is almost half-free and the usage of swap space is very high. From my textbook knowledge, I used to think that Linux OS tries to make best usage of RAM and when it gets short of RAM, it will move some of the least used pages from RAM to Swap space.
Can someone please explain me if my theoretical knowledge is incorrect and explain me how in the world of linux it actually works.