From 7a9756522c9e5c4ebd40d46681f1552f9d85a069 Mon Sep 17 00:00:00 2001 From: dormando Date: Mon, 27 Nov 2017 13:46:19 -0800 Subject: 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. --- scripts/memcached-automove-extstore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts') 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"): -- cgit v1.2.1