How to trigger swap space usage on linux?

sysctl -w vm.swappiness=100

then copy files to /dev/shm