diff options
author | dormando <dormando@rydia.net> | 2017-11-27 13:46:19 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2017-11-28 14:18:05 -0800 |
commit | 7a9756522c9e5c4ebd40d46681f1552f9d85a069 (patch) | |
tree | d231b2974f02554f16bba20294f48e9c13a86a0d /scripts | |
parent | e4caa1917b17f599603c29d4af58a68e73a1f428 (diff) | |
download | memcached-7a9756522c9e5c4ebd40d46681f1552f9d85a069.tar.gz |
extstore: always output global page pool
if we want to disable automove and run an external algo that examines the
page pool count...
removes temp hack from external script.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/memcached-automove-extstore | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/memcached-automove-extstore b/scripts/memcached-automove-extstore index b813727..4578d17 100755 --- a/scripts/memcached-automove-extstore +++ b/scripts/memcached-automove-extstore @@ -198,8 +198,7 @@ def read_slab_stats(s): # HACK: lets look at 'evictions' being nonzero to indicate memory filled at some point. def read_stats(s): stats = {} - # HACK: Current version can't display global page pool. stupid me. - s.write("slabs automove 1\r\nstats\r\nslabs automove 0\r\n") + s.write("stats\r\n") while True: line = s.readline().rstrip() if line.startswith("END"): |