I have this situation with RAM and SWAP at the moment:
$ free -h
total used free shared buffers cached
Mem: 7,7G 7,5G 159M 100M 75M 5,9G
-/+ buffers/cache: 1,5G 6,1G
Swap: 7,9G 408M 7,5G
And I was wondering...
Is there a way to know what programs/data are RAM-cached and/or from which process do they come from?
Thank you very much in advance.
EDIT: to know the programs/data in SWAP follow the link provided by @xubu-tur .
ps axu
shows the active processes, but not the dead and cached ones, nor the cached data relative to a non-existing process.