Launch memcached on a mac

memcached stuff: 1. start the daemon 2. Is it running? 3. print out the stats
memcached -d -p 11211 -u memcached -m 128
ps aux | grep memcach
echo -ne "stats\r\n" | nc -i1 localhost 11211

Advertisements