Project

memkeys

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Lists keys currently listed in memcache
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 3.4

Runtime

~> 0.19
 Project Readme

Memkeys

Lists keys currently listed in memcache, based on this gist.

## Sample usage

Open your terminal and run

memkeys 

The output should look like:

|      id |                      expires |        bytes | cache_key                                             |
|       6 |    2015-06-02 08:03:31 +0200 |          143 | _session_id:8b240b242330b0be921c78ffa7c4f6ff          |
|      11 |    2015-06-02 20:03:23 +0200 |          807 | all_models_for_collection_cached                      |
|      13 |    2015-06-02 20:03:23 +0200 |         1210 | views/popular_items/c944e22bd654851ed47b502f569f8d4d  |
|      20 |    2015-06-02 20:03:23 +0200 |         6082 | some_other_key                                        |
|      31 |    2015-06-02 02:03:23 +0200 |        80259 | views/home/index                                      |

Arguments

  • --host The host, defaults to localhost
  • --port The port, defaults to 11211
  • --timeout The timeout, defaults to 3

How to build & install gem

Build from source

gem build memkeys.gemspec 
gem install memkeys-0.1.2.gem

or from rubygems

gem install memkeys

Or just clone the repo and run

ruby bin/memkeys

TODO

  • Write tests, currently they do nothing.

Thanks

Big thanks to: