Install Memcached
To install Memcached,
SSH into your server as root
and run the following command.
sudo apt-get install memcached
Once installed, Memcached will be listening on port 11211.
Memcached Statistics
You can view statistics for Memcached by running the following command.
You may need to install the netcat
package to run this command.
echo stats | nc 127.0.0.1 11211
Example output:
STAT pid 15669STAT uptime 1757436STAT time 1392693208STAT version 1.4.13STAT libevent 2.0.16-stableSTAT pointer_size 64STAT rusage_user 28.753797STAT rusage_system 30.577911STAT curr_connections 5STAT total_connections 38STAT connection_structures 6...END