inventory.txt 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. Inventory of features in memcache.php
  2. Common header:
  3. memcache -> http://pecl.php.net/package/memcache
  4. author -> (blog address)
  5. ================================================================================
  6. OP = 1
  7. ------
  8. (home), ?op=1
  9. Description Overview of the host lists and aggregate stats
  10. Refresh Data -> &op=(current op)
  11. Update the information and graphs
  12. View Host Stats -> &op=1
  13. Return to home page
  14. Variables -> &op=2
  15. List of slabs per server with a few stats
  16. General Cache Information
  17. PHP version on host running the UI
  18. Memcached hosts: array of (host):(port) bin definitions -> &singleout=(bin id)
  19. Total Memcache Cache: xxx.x MiBytes
  20. Memcache Server Information
  21. (host):(port)
  22. Flush this server -> &op=6&server=(bin id)
  23. Start time = (value)
  24. Uptime = (value)
  25. Memcached Server Version = (value)
  26. Used Cache Size = (xxx.x KiBytes)
  27. Total Cache Siez = (xx.x MiBytes)
  28. (repeat for all bins)
  29. Host Status Diagrams
  30. Cache usage
  31. Pie chart with percentages
  32. Free: xxx.x MiBytes (xx.x%)
  33. Used: xxx.x KiBytes (x.x%)
  34. Hits & misses
  35. Bar chart for hits and misses
  36. Hits: x (x.x%)
  37. Misses: xx (xx.x%)
  38. Cache information
  39. Current items\(total\) = (value\(total value\))
  40. Hits = (value)
  41. Misses = (value)
  42. Request rate (hits, misses) = (value) requests/second
  43. Hit Rate = (value) requests/second
  44. Miss Rate = (value) requests/second
  45. Set Rate = (value) requests/second
  46. &singleout=(bin id)
  47. Same as home, but list limited to 1 bin
  48. Additional in the General Cache Information: \(all servers\) -> \?
  49. ================================================================================
  50. OP = 2
  51. ------
  52. ?op=2
  53. Description: List of slabs per server with a few stats
  54. Bin(n)
  55. Host:port
  56. (Slab id) -> &op=2&server=(bin id)&dumpslab=(slab id)
  57. slab id,
  58. item count
  59. age
  60. evicted Y/N
  61. (repeat for all slabs on bin)
  62. (repeat for all bins)
  63. ?&op=2&server=(bin id)&dumplab=(slab id)
  64. Same as ?op=2 except for selected slab id
  65. (slab id)
  66. Item count: (value)
  67. Age: (value)
  68. Evicted: (Yes|No)
  69. Items: item
  70. (key) -> &op=4&server=(bin id)&key=(base64_encode(urlencode(key))
  71. (repeat for all keys in slab)
  72. ================================================================================
  73. OP = 4
  74. ------
  75. &op=4&server=(bin id)&key=(base64_encode(urlencode(key))
  76. Description: Value display
  77. Server: (host:port)
  78. Key: (value) flag: (flag value) Size: xx.x KiBytes
  79. Value: (value)
  80. Delete: -> &op=5&server=(bin id)&key=(base64_encode(urlencode(key))
  81. Remarque: ne valide pas l'existence de la clef, se contente de la décoder de l'URL
  82. ================================================================================
  83. OP = 5
  84. ------
  85. &op=5&server=(bin id)&key=(base64_encode(urlencode(key))
  86. Deleting (key): DELETED|NOT FOUND