0

Is there a linux command or process I can run to trigger or force it to use swap at a high rate, e.g. exhausting 50% of swap space? I tried copying files but only see memory usage going up and down.

newbie
  • 3
  • 1

1 Answers1

2
sysctl -w vm.swappiness=100

then copy files to /dev/shm

Jacob Evans
  • 7,636
  • 3
  • 25
  • 55