Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 564 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 564 Bytes

DirectoryCacher

Locks files in directories in linux cache to reduce IO usage

Requirements:

  1. 64bit linux
  2. Java 8

You need to run this programm as root

You can supply list of directories that should be cached either by:

  1. Supplying them as command line args
    Exmaple: sudo java -jar DirectoryCacher.jar /home/test /home/test1
  2. 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