Guest User

Untitled

a guest
Apr 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. time find / -type f ( -name "*.tar" -o -name "*.tar.*" ) 2>/dev/null | wc
  2.  
  3. real 1m10.767s
  4.  
  5. real 0m9.847s
  6.  
  7. #!/bin/bash
  8. if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi
  9. sync; echo 1 > /proc/sys/vm/drop_caches
  10. sync; echo 2 > /proc/sys/vm/drop_caches
  11. sync; echo 3 > /proc/sys/vm/drop_caches
  12.  
  13. @reboot /usr/sleep 30 && /usr/bin/find /* 2>/dev/null | wc -l
Add Comment
Please, Sign In to add comment