Skip to content

Instantly share code, notes, and snippets.

@eabbott
eabbott / gist:4957893
Last active December 13, 2015 18:48 — forked from bkimble/gist:1365005
#!/usr/bin/env ruby
require 'net/telnet'
hostname = ARGV[0]
throw 'wheres the host?' if hostname.nil?
cache_dump_limit = 10000
localhost = Net::Telnet::new("Host" => hostname, "Port" => 11211, "Timeout" => 3, "Telnetmode" => false)
slab_ids = []
# The code block will get called for each <insert technical expl>