New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
f and select swap. Or just use htop.
But swap is 512mb vps thing you certainly don't need it💁♂️
do you mean if you use swap? or does your provider sell you a VPS from a node that uses swap?
just the statistics how my apps use swap.
free -m -h in the terminal
There's a line in
top
labelled as "MiB Swap".Note that some usage of swap is expected even if the RAM is not full. If an app has allocated a lot of RAM but is not using all of it very often, the kernel may decide that the infrequently used parts of that RAM would actually be more useful for caching, and swap out those pages. You can reduce the
vm.swappiness
sysctl to reduce the likelihood of this happening.If you are a boom victim, your entire RAM is actually swap.
That's not exactly true, but is nearly the case.
>
do you mean if my neighbors were trying to consume out all the physical memory then my VM should be using the swap?
I mean that boom deliberately oversells swap as RAM, so even if you think you're using RAM and not swap, behind the scenes it was actually swap the whole time.
*slaps roof of Kingston SSD drive* This bad boy can fit so much "RAM" in it
free -m
for swap usageswapon -s
for list of swapsYou can always run a memory benchmark and see