Skip to content

Instantly share code, notes, and snippets.

@csanz
Created September 14, 2010 23:30
Show Gist options
  • Select an option

  • Save csanz/579956 to your computer and use it in GitHub Desktop.

Select an option

Save csanz/579956 to your computer and use it in GitHub Desktop.
csanz:~ csanz$ redis-cli set mykey "{'myhash':{'name':'value'}}"
OK
csanz:~ csanz$ redis-cli get mykey
{'myhash':{'name':'value'}}
csanz:~ csanz$
csanz:~ csanz$ redis-server
14 Sep 23:29:01 * Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'
14 Sep 23:29:01 - Server started, Redis version 1.01
14 Sep 23:29:01 - The server is now ready to accept connections on port 6379
14 Sep 23:29:02 . 0 clients connected (0 slaves), 5168 bytes in use, 0 shared objects
14 Sep 23:29:07 . 0 clients connected (0 slaves), 5168 bytes in use, 0 shared objects
14 Sep 23:29:12 . 0 clients connected (0 slaves), 5168 bytes in use, 0 shared objects
14 Sep 23:29:17 . 0 clients connected (0 slaves), 5168 bytes in use, 0 shared objects
14 Sep 23:29:22 . 0 clients connected (0 slaves), 5168 bytes in use, 0 shared objects
14 Sep 23:29:27 . 0 clients connected (0 slaves), 5168 bytes in use, 0 shared objects
14 Sep 23:29:30 . Accepted 127.0.0.1:61483
14 Sep 23:29:30 . Client closed connection
14 Sep 23:29:32 . DB 0: 1 keys (0 volatile) in 4 slots HT.
14 Sep 23:29:32 . 0 clients connected (0 slaves), 5472 bytes in use, 0 shared objects
14 Sep 23:29:33 . Accepted 127.0.0.1:61484
14 Sep 23:29:33 . Client closed connection
14 Sep 23:29:37 . DB 0: 1 keys (0 volatile) in 4 slots HT.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment