add a script for display buffer/cache, some problem need to resolve.