go-memkeys
Overview
Memcached top-like cache key monitoring utility inspired by the mctop/memkeys projects.
Installation
Follow the simple golang process steps of get
, build
, and run. The application also relies on the pcap library, so ensure that is installed on your OS before you perform the next steps.
> git clone https://github.com/darthhexx/go-memkeys
> cd go-memkeys
> go get
> go build
Running
The required parameters are what you would expect.
Usage of go-memkeys:
-i string
Interface to read packets from (default "en0")
-p int
Port number (default 11211)
In order to export all the data recorded by the application; press 'd' (dump) during execution. A file will be saved as {timestamp}-stats.json
in the applcation's directory, assuming the user has the required directory ACLs.