So I just noticed that on MacOS happens the same as on Linux. The ram usage and also swap usage is totally different depending with which program I analyze it. My default Activity Monitor shows on my Mac Air M1 is pretty much always quite loaded even after just rebooting. Around 5-6 GB Ram usage and as soon as I have a bit of heavy Browser usage and some IDE's (IntelliJ) open my Swap gets also around 1-3 GB Ram.
However, I just installed htop on my command line, and here the values are totally different. At the moment htop shows 3,9 GB Ram and 450 MB Swap. My activity monitor shows at the same time 6,7 GB Ram but Swap usage is identical. Howver, on activity monitor is also Cached Files shown (at the moment 1,3 GB usage) and in htop I don't see Cached files at all.
But I noticed in Linux even weirder things. I use there htop , stacer and the default System monitor. All 3 Apps show TOTAL different numbers of my RAM Usage.
Someone can explain a bit?
However, I just installed htop on my command line, and here the values are totally different. At the moment htop shows 3,9 GB Ram and 450 MB Swap. My activity monitor shows at the same time 6,7 GB Ram but Swap usage is identical. Howver, on activity monitor is also Cached Files shown (at the moment 1,3 GB usage) and in htop I don't see Cached files at all.
But I noticed in Linux even weirder things. I use there htop , stacer and the default System monitor. All 3 Apps show TOTAL different numbers of my RAM Usage.
Someone can explain a bit?