Skip to content

Instantly share code, notes, and snippets.

@wayneeseguin
Created April 1, 2011 20:46
Show Gist options
  • Select an option

  • Save wayneeseguin/898829 to your computer and use it in GitHub Desktop.

Select an option

Save wayneeseguin/898829 to your computer and use it in GitHub Desktop.
Common BDSM redis actions
root# bdsm redis start
#starting Redis as redis using /etc/redis/redis.conf...
16:37:09 wayneeseguin@Genius:~
$ bdsm redis status
redis-server:
status: running
version: 2.2.2
pid: 68059
port: 6379
pidfile: /var/run/redis/redis.pid
logfile: /var/log/redis/redis.log
dbfile: /var/db/redis/dump.rdb
16:45:03 wayneeseguin@Genius:~
$ bdsm redis info
redis_version:2.2.2
redis_git_sha1:00000000
redis_git_dirty:0
arch_bits:64
multiplexing_api:kqueue
process_id:68059
uptime_in_seconds:66538
uptime_in_days:0
lru_clock:145647
used_cpu_sys:7.47
used_cpu_user:7.45
used_cpu_sys_childrens:0.00
used_cpu_user_childrens:0.00
connected_clients:1
connected_slaves:0
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
used_memory:930656
used_memory_human:908.84K
used_memory_rss:966656
mem_fragmentation_ratio:1.04
use_tcmalloc:0
loading:0
aof_enabled:0
changes_since_last_save:0
bgsave_in_progress:0
last_save_time:1301624173
bgrewriteaof_in_progress:0
total_connections_received:8
total_commands_processed:7
expired_keys:0
evicted_keys:0
keyspace_hits:0
keyspace_misses:0
hash_max_zipmap_entries:512
hash_max_zipmap_value:64
pubsub_channels:0
pubsub_patterns:0
vm_enabled:0
role:master
allocation_stats:6=1,8=37,9=87,10=55,11=112,12=12,13=42,14=24,15=78,16=10697,17=10,18=6,19=15,20=8,21=5,22=4,23=45,24=133,25=6,26=7,27=4,28=6,29=6,30=5,31=2,32=20,34=6,35=1,36=4,37=11,38=7,39=16,40=4,41=3,42=4,43=3,44=2,45=1,46=2,47=1,48=40,49=2,50=1,51=1,52=1,53=2,56=5,57=2,58=3,59=5,61=1,62=1,63=1,64=10,65=3,66=1,67=1,68=4,69=4,70=2,71=3,72=6,73=3,74=3,75=1,76=3,77=3,78=8,79=7,80=13,81=18,82=19,83=9,84=24,85=18,86=15,87=12,88=81,89=9,90=3,128=9,>=256=46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment