Memcache Admin

nicholasThompson - January 30, 2008 - 13:14
Project:Memcache API and Integration
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:nicholasThompson
Status:duplicate
Description

Here is a patch to improve the Memcache admin area a little... It adds 1 table per cluster (so you can get stats per cluster). It also adds extra stats per cluster other than the default stats. Most of them are pretty useless although the 'malloc' tab is interesting.

Finally it also tweaks and adds some values before outputting them. It formats things like bytes & time intervals and also adds a Hit Percentage and a Memory Used percentage.

Any thoughts and/or suggestions?

Btw: The commited memcache_admin module was written by me on a Windows machine before I realised I needed to set the newlines to LF... So the file is currently a DOS file rather than UNIX. So at some point we need to to update the file as a UNIX one.

AttachmentSize
memcache_admin.module.patch6.1 KB

#1

robertDouglass - February 12, 2008 - 21:25

Thanks. Committed.

#2

robertDouglass - February 12, 2008 - 21:33
Status:patch (code needs review)» fixed

#3

robertDouglass - February 12, 2008 - 22:11
Status:fixed» active

Nic, can you check the logic that produces this?
mem_used 1,659.00%

#4

nicholasThompson - February 17, 2008 - 13:48

Thats odd... What was the memcache configuration for this? To work out the mem_used I'm simply dividing memory used by the max limit and multiplying by 100...

#5

robertDouglass - July 18, 2008 - 20:23
Status:active» duplicate
 
 

Drupal is a registered trademark of Dries Buytaert.