views:

19

answers:

1

Running flush() on the java-clients we've tried (SpyMemcacheD and Danga) does not reset the statistics on the memcached server.

Does anyone know a good way to do this? I could implement a telnet client that sends

stats reset

But that seems excessive

A: 

Did you try the following?

c.getStats("reset");
Dustin
yes, that is not an option in Danga client, and gives an exception in SpyMemcached client.
Tommy
Why is this downvoted? It's the correct way to do it. If there's a bug, file it (with a description of what went wrong).
Dustin