cachestats - Online in the Cloud

This is the command cachestats that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cachestats - print cache statistics for a file

SYNOPSIS


cachestats [-qv] file

DESCRIPTION


Print number of cached vs. not-cached pages.

OPTIONS


-v "Verbose mode"
Print verbose cache map, where each page that is present in the cache is marked
with `x`.

-q "Quiet mode"
The exit status is 0 (success) if the file is fully cached.

EXAMPLE


$ cachestats -v ~/somefile.mp3
pages in cache: 85/114 (74.6%) [filesize=453.5K, pagesize=4K]

cache map:
0: |x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|
32: |x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|
64: |x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x| | | | | | | | | | | | |
96: | | | | | | | | | | | | | | | | | |x|

Use cachestats online using onworks.net services



Latest Linux & Windows online programs