Locks files in directories in linux cache to reduce IO usage
Requirements:
- 64bit linux
- Java 8
You need to run this programm as root
You can supply list of directories that should be cached either by:
- Supplying them as command line args
Exmaple: sudo java -jar DirectoryCacher.jar /home/test /home/test1 - Adding them to dirlist file (located in the process workdir (by default the directory from which you launched java))
DirectoryCacher is recursive so any directory inside the specified ones will be cached too