2017 © Pedro Peláez
 

library memcachedtool

Command line application for easily accessing items in a memcache store.

image

joelvardy/memcachedtool

Command line application for easily accessing items in a memcache store.

  • Thursday, April 23, 2015
  • by joelvardy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 41 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

Memcached Tool

This is a simple command line tool allowing you to:, (*1)

  • View basic stats about a Memcached server.
  • List keys on a Memcached server (including regex lookups.)
  • Delete keys on a Memcached server (including regex lookups.)

Installation

To install globally on your system run:, (*2)

composer global require joelvardy/memcachedtool

Your Path

To make binaries installed with Composer available globally you must add $COMPOSER_HOME/vendor/bin to your path, for example:, (*3)

echo "PATH=\$PATH:\$HOME/.composer/vendor/bin" >> ~/.bashrc
source ~/.bashrc

Commands

The default Memcached host and port will be used unless specified, to specify them add --host 129.168.0.48 --port 11322 to the commands., (*4)

Stats

memcachedtool stats

List Keys

# All keys
memcachedtool keys

# Keys matching expression
memcachedtool keys --regex "/^post_2_(.*)$/"

Delete Keys

# All keys
memcachedtool delete --all

# Keys matching expression
memcachedtool delete --regex "/^post_2_(.*)$/"

The Versions

23/04 2015

dev-master

9999999-dev

Command line application for easily accessing items in a memcache store.

  Sources   Download

MIT

The Requires

 

memcache memcached

23/04 2015

0.0.1

0.0.1.0

Command line application for easily accessing items in a memcache store.

  Sources   Download

MIT

The Requires

 

memcache memcached