vmtouch: File system cache diagnostics and control

From the topic above, you may have remembered one of our former post “what data is cached by operation system“. This is a similar tool asĀ Fincore, but it’s more powerful. It’s written in C and supports UNIX and unix-like systems.

The installation is quite simple, you just need to download the source code, and run below command to compile it:

$ gcc -Wall -O3 -o vmtouch vmtouch.c

The usage examples can be seen at its homepage.

Its key features are:

  • How much data of a file (or a directory) is currently in cache.
  • Bring a file (or part of a file) into system memory.
  • Ask the system to evict a specified file from memory, making room for other files.
  • Daemonise and lock specified files into physical memory (Make sense?)

Want to have a try? Please click this link: http://hoytech.com/vmtouch/

Enjoy!

Related posts:

  1. How to free Linux Cache
  2. NILFS: New Log-Structured File System
  3. Convert File System from ext3 to ext4
  4. File system based ACL in Linux
  5. What data is cached by operation system


Joseph chen is a system administrator from south China. He has a keen interest in Open Source and system administration solutions.

Leave a Reply

© 2006-2011 Admon Home. All rights reserved.