Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    memcacheinspector 0.2.0

    Download button

    No screenshots available
    Downloads: 184  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Jason Simeone | More programs
    MIT/X Consortium Lic... / FREE
    August 16th, 2010, 11:45 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    memcacheinspector description

    Memcache Inspection Module and Command-Line Utility

    memcacheinspector is a Python package that includes two things:

     * A Python module for extracting keys from Memcached servers.
     * A command-line utility for exploring, searching, and updating Memcached items.

    This utility make uses of the Memcached "features" discussed in the SensePost Blog.

    Installation

    Using pip (recommended):

     pip install memcacheinspector

    Or, using easy_install:

    easy_install memcacheinspector

    Or, you can download the source and install it by hand:

     python setup.py install

    Installing the package installs both the memcacheinspector python module as well as the mcinspect command-line utility.

    Usage

    Usage: mcinspect [options] < action > []

    Actions:
     list Lists all items stored in the server(s).
     dump Dumps all items (including values) stored in the
     server(s).
     grep < pattern > Dumps all items (including values) whose key or value
     matches the specified search pattern.
     get < key > [ ...] Retrieves the items with the specified key(s).
     set < key > < value > Sets the item with the specified key and value.
     incr key Increments the value of the items with the specified
     key(s).
     decr key Decrements the value of the items with the specified
     key(s).
     delete < key > [ ...] Deletes the items with the specified key(s).
     flush Expires all items in the server(s).
     stats Retrieves statistics from the server(s).

    Options:
     --version show program's version number and exit
     -h, --help show this help message and exit
     -s SERVER, --server=SERVER
     Specifies a server to connect to. Can be used multiple
     times. Defaults to '127.0.0.1:11211'.
     -z MAX_VALUE_SIZE, --max-value-size=MAX_VALUE_SIZE
     The maximum size (in bytes) of a value can be when
     performing a list or dump action. Zero or lower is
     interpreted as no limit. Defaults to 0.
     -d DELTA, --delta=DELTA
     The amount to change the value when using the incr or
     decr actions. Defaults to 1.
     -i, --ignore-case Ignore case distinctions in both the pattern and the
     items during the grep action.
     -v, --invert-match Inverts the sense of matching, to select non-matching
     items during the grep action.

    Output Format:
     list:
     < server connection string >|||

     dump, grep:
     < server connection string >|||
     < value >

     get, set, incr, decr:
     < server connection string >|
     < value >

     delete:
     < server connection string >|

     flush:
     < server connection string >

     stats:
     < server connection string >||



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    memcache inspection | Python library | memcache | inspection | library

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM