Build Status

NAME

memcached-tool - A porting of memcached/memcached-tool

SYNOPSIS

General:

# Ported style from original memcached-tool
memcached-tool <host[:port] | /path/to/socket> [mode] [options]

# Without 1st arg, connects 127.0.0.1:11211 by default
memcached-tool [mode] [options]

# You can provide <addr> or <mode> by option style
memcached-tool --addr|-a <host[:port] | /path/to/socket> --mode|-m <mode> [options]
memcached-tool --mode|-m <mode> [options]

Modes Summary:

memcached-tool [addr] [options]          # same with 'display'
memcached-tool [addr] display  [options] # show slabs
memcached-tool [addr] stats    [options] # show general stats
memcached-tool [addr] settings [options] # show settings stats
memcached-tool [addr] dump     [options] # dumps keys and values

Mode for Development:

memcached-tool [addr] sizes [options]    # shows sizes stats

Type memcached-tool man to check the risk of this command.

Help or Manual:

memcached-tool help|-h|--help
memcached-tool man|--man

DESCRIPTION

This script is a porting of memcached/memcached-tool which is in the public domain.

Follwing description comes from man(1) of original memcached-tool:

The first parameter specifies the address of the daemon either by a hostname, optionally followed by the port number (the default is 11211), or a path to UNIX domain socket. The second parameter specifies the mode in which the tool should run.

MODES

Following description comes from man(1) or usage of original memcached-tool.

OPTIONS

SEE ALSO

App::Memcached::Tool, memcached(1), http://www.memcached.org/

AUTHORS

YASUTAKE Kiyoshi yasutake.kiyoshi@gmail.com

LICENSE

Copyright (C) 2015 YASUTAKE Kiyoshi.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. That means either (a) the GNU General Public License or (b) the Artistic License.