facebook/flashcache — pull request #48 by NinGoo (2012-01-11 05:50:51+00:00)
Title: flashstat adds in utils directory

flashstat is a tool written in Perl, it parse dmsetup table/sysctl -a | grep flashcache/ for header information, and parse dmsetup table(for old version of flashcache) or /proc/flashcache/xxx+xxx/flashcache_stats(for current version of flashcache) every -i n seconds, and calculte status value as per second value.

The original project is here: https://github.com/NinGoo/flashstat
And a discussion is here: http://groups.google.com/group/flashcache-dev/browse_thread/thread/99c2c7f53fa94b7f

I have tested it on REHL 5.4/6.1 on Dell's R710 with old and new version of flashcache, and it runs well.