"top" for memcache - watch the traffic and other stats in real-time. Yoikes. Forked from Nicholas Tang's Google Code project.
Perl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
HISTORY.rst Update HISTORY.rst Dec 24, 2016
README.rst Fixing HISTORY and README syntax errors. Nov 28, 2012
memcache-top Update memcache-top Jan 17, 2017

README.rst

memcache-top.pl

"top" for memcache - watch the traffic and other stats in real-time. Yoikes.

NOTES

If Getopt::Long is installed:
  • Specify instances w/ --instances (multiple times or comma separated)
  • Specify default port w/ --port (defaults to 11211)
  • Specify sleep time w/ --sleep (default 3)
  • Specify color output w/ --color (default) or --nocolor
  • Specify lifetime stats w/ --lifetime or --nolifetime (default) NOTE: lifetime stats break thresholds for evictions, bytes.
  • Specify read and write bytes w/ --bytes (default) or --nobytes
  • Specify get and set commands w/ --commands or --nocommands (default)
  • Specify cumulative numbers w/ --cumulative (don't use with lifetime)
  • Run a single time without clearing the screen, good for scripts and the like: --oneoff
If Getopt::Long is not installed:
  • Specify sleep time by typing a number after the command.

Specify instances in @default_instances. Specify thresholds by defining %threshold. Written against memcached v 1.2.3, but works fine w/ later versions.