lets see windows do this.. :)
here is a small sniplet script for you linux lovers out there..
ever notice how your system lags? harddrive running non stop due to VM use? use this code..
#!/bin/bash
echo "current ram stats"
free -m | grep Mem:| awk '{print "total: " $2, "used: " $3, "free: " $4}'
sync
echo 3 > /proc/sys/vm/dump_caches
echo "memory after freeing and dumping cache and ionodes"
free -m | grep Mem:| awk '{print "total: " $2, "used: " $3, "free: " $4}'
enjoy! :P