| 1 | <?php |
|---|
| 2 | $charset = "UTF-8"; |
|---|
| 3 | if (file_exists("./config.php")) { |
|---|
| 4 | include("./config.php"); |
|---|
| 5 | } |
|---|
| 6 | ?> |
|---|
| 7 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|---|
| 8 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 9 | <head> |
|---|
| 10 | <meta http-equiv="Content-Language" content="en-us" /> |
|---|
| 11 | <?php |
|---|
| 12 | echo <<<HEAD |
|---|
| 13 | <meta http-equiv="Content-Type" content="text/html; charset=$charset" /> |
|---|
| 14 | <script type="text/javascript" src="tablesort.js" charset="$charset"></script> |
|---|
| 15 | HEAD; |
|---|
| 16 | ?> |
|---|
| 17 | |
|---|
| 18 | <link rel="stylesheet" type="text/css" href="xcache.css" /> |
|---|
| 19 | <title>XCache Administration Help</title> |
|---|
| 20 | <script> |
|---|
| 21 | function toggle(o) |
|---|
| 22 | { |
|---|
| 23 | o.style.display = o.style.display != 'block' ? 'block' : 'none'; |
|---|
| 24 | } |
|---|
| 25 | </script> |
|---|
| 26 | </head> |
|---|
| 27 | |
|---|
| 28 | <body> |
|---|
| 29 | <h1>XCache Administration Help</h1> |
|---|
| 30 | <a href="javascript:" onclick="toggle(document.getElementById('help'));return false" style="display:block; float: right">Help</a> |
|---|
| 31 | <div id1="help"> |
|---|
| 32 | <h2>Cache Legends</h2> |
|---|
| 33 | <pre> |
|---|
| 34 | <b>Slots: </b>Number of hash slots. the setting from your php.ini |
|---|
| 35 | <b>Size: </b>Cache Size, Size of the cache (or cache chunk), in bytes |
|---|
| 36 | <b>Avail: </b>Available Memory, free memory in bytes of this cache |
|---|
| 37 | <b>Used: </b>Used Percent, A bar shows how much memory used in percent |
|---|
| 38 | <b>Clear: </b>Clear Button, Press the button to clean this cache |
|---|
| 39 | <b>Compiling: </b>Compiling flag, "yes" if the cache is busy compiling php script |
|---|
| 40 | <b>Hits: </b>Cache Hits, hit=a var/php is loaded from this cache |
|---|
| 41 | <b>Misses: </b>Cache Misses, miss=a var/php is requested but not in the cache |
|---|
| 42 | <b>CLogs: </b>Compiling Clogs, clog=compiling is needed but avoided to wait(be blocked) |
|---|
| 43 | for the cache busy compiling |
|---|
| 44 | <b>OOMs: </b>Out Of Memory, how many times a new item should be stored but there isn't |
|---|
| 45 | enough memory in the cache, think of increasing the xcache.size or xcache.var_size |
|---|
| 46 | <b>Protected: </b>Whether readonly_protection is available and enable on this cache |
|---|
| 47 | <b>Cached: </b>Number of entries stored in this cache |
|---|
| 48 | <b>Deleted: </b>Number of entries is pending in delete list (expired but referenced) |
|---|
| 49 | <b>Free Blocks:</b>Free blocks list in the specified cache |
|---|
| 50 | </pre> |
|---|
| 51 | |
|---|
| 52 | <h2>List Legends</h2> |
|---|
| 53 | <pre> |
|---|
| 54 | <b>entry: </b>The entry name or filename |
|---|
| 55 | <b>Hits: </b>Times this entry is hit (loaded from this cache) |
|---|
| 56 | <b>Refcount: </b>Reference count this entry is holded by a php request |
|---|
| 57 | <b>Size: </b>Size in bytes of this entry in the cache |
|---|
| 58 | <b>SrcSize: </b>Size of the source file |
|---|
| 59 | <b>Modify: </b>Last modified time of the source file |
|---|
| 60 | <b>device: </b>device number of the source file |
|---|
| 61 | <b>inode: </b>inode number of the source file |
|---|
| 62 | <b>Access: </b>Last access time of the cached entry |
|---|
| 63 | <b>Create: </b>The time when this entry is stored |
|---|
| 64 | </pre> |
|---|
| 65 | </div> |
|---|
| 66 | |
|---|
| 67 | See also: <a href="http://trac.lighttpd.net/xcache/wiki/PhpIni">setting php.ini for XCache</a> in the <a href="http://trac.lighttpd.net/xcache/">XCache wiki</a> |
|---|
| 68 | </body> |
|---|
| 69 | </html> |
|---|