Subscribe to channel

Subscribe and listen to messages on a channel

redis-cli SUBSCRIBE events

tool
redis32 commands
tags
redis

More redis commands

  • redis-cli INFO replication

    Role, connected replicas, replication lag

  • redis-cli BGSAVE && redis-cli LASTSAVE

    Trigger background RDB save and check its timestamp

  • redis-cli -n 1 FLUSHDB ASYNC

    Asynchronously flush database index 1 only

  • redis-cli ZREVRANGEBYSCORE leaderboard +inf -inf WITHSCORES LIMIT 0 10

    Top 10 entries from a sorted set with scores

  • redis-cli XADD mystream '*' event login user alice

    Append a message to a Redis Stream with auto-ID

all 32 redis commands