Skip to content

Fullaxx/rediswatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

rediswatch

A simple utility to watch redis activity in real-time using psubscribe build using:

Requirements

First we need to make sure we have all the appropriate libraries.
Please consult this chart for help with installing the required packages.
If your OS is not listed, please help us fill out the table, or submit a request via github.

OS Commands (as root)
Alpine apk add build-base hiredis-dev libevent-dev
CentOS yum install -y epel-release; yum install -y gcc hiredis-devel libevent-devel
Debian apt update; apt install -y build-essential libhiredis-dev libevent-dev
Fedora yum install -y gcc hiredis-devel libevent-devel
Ubuntu apt update; apt install -y build-essential libhiredis-dev libevent-dev

Compiling

./compile.sh

Running printall

This will print generic output regarding each redis event on the redis instance @ 127.0.0.1:6379.

./printall.dbg 127.0.0.1 6379

To select another DB:

./printall.dbg 127.0.0.1 6379 1

Running events

This will print more processed output regarding specific redis events on the redis instance @ 127.0.0.1:6379.

./events.dbg 172.17.0.1 6379

To select another DB:

./events.dbg 127.0.0.1 6379 1

Releases

No releases published

Packages

No packages published