free-men.sh 327 B

123456789
  1. #!/bin/sh
  2. #Autor: Henry Chumo
  3. #Alias : ChumoGH
  4. echo 3 > /proc/sys/vm/drop_caches 1> /dev/null 2> /dev/null
  5. sysctl -w vm.drop_caches=3 1> /dev/null 2> /dev/null
  6. swapoff -a && swapon -a 1> /dev/null 2> /dev/null
  7. killall kswapd0 > /dev/null 2>&1
  8. echo $(free -h | grep Mem | sed 's/\s\+/,/g' | cut -d , -f4) > /bin/ejecutar/raml