====== Redis ====== Redis is an in-memory data structure store, it listens on port 6379. I just wanted to see if redis was in use on a server so this was just enough to establish there were no keys in use and no other processes using it so I could stop it and remove it. ===== Basic Primer ===== Access from a console is best from the ''redis-cli'' command. -bash-4.1$ redis-cli 127.0.0.1:6379> 127.0.0.1:6379> 127.0.0.1:6379> info # Server redis_version:4.0.9 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:c527bae5cf6a6c5e redis_mode:standalone os:Linux 2.6.32-696.23.1.el6.x86_64 x86_64 ... edited ... # Keyspace db0:keys=1,expires=0,avg_ttl=0 127.0.0.1:6379> 127.0.0.1:6379> keys * 1) "user" 127.0.0.1:6379> get user "andrew" 127.0.0.1:6379> 127.0.0.1:6379> set user NewUser OK 127.0.0.1:6379> get user "NewUser" 127.0.0.1:6379>