Hi Experts,

I need to tune some swap parameters in Linux server. For this I want to test it in some test server.

Is there any script that uses total memory and also need to use swap space on that test machine. So that I can test with my tuning parameters to clean up the unused old swap without doing a server reboot.

Please provide me the script if any one knows.