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.

CommentFileSizeAuthor
memcache_admin.module.patch6.1 KBnicholasthompson

Comments

robertdouglass’s picture

Thanks. Committed.

robertdouglass’s picture

Status: Needs review » Fixed
robertdouglass’s picture

Status: Fixed » Active

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

nicholasthompson’s picture

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...

robertdouglass’s picture

Status: Active » Closed (duplicate)