Coder Social home page Coder Social logo

redis-tools's People

Contributors

antirez avatar pietern avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redis-tools's Issues

Tag a release?

Hello,
It would be great to have a tagged release so we could include redis-tools in the Homebrew core.
Thanks!

A little probrem in make

cc -o redis-load -pedantic -O2 -Wall -W -lm -pthread -g -rdynamic -ggdb ae.o adlist.o redis-load.o zmalloc.o rc4rand.o utils.o deps/hiredis/libhiredis.a
redis-load.o: In function longtailprng': /home/yjl/下载/redis-tools-master/redis-load.c:122: undefined reference topow'
/home/yjl/下载/redis-tools-master/redis-load.c:122: undefined reference to pow' /home/yjl/下载/redis-tools-master/redis-load.c:122: undefined reference topow'
/home/yjl/下载/redis-tools-master/redis-load.c:122: undefined reference to `pow'
collect2: ld 返回 1

a litttle mistake with Makefile:
jus put $(CCOPT) end. work ok

redis-load: $(LOADOBJ)
cd deps/hiredis && $(MAKE) static
$(CC) -o $(LOADPRGNAME) $(DEBUG) $(LOADOBJ) deps/hiredis/libhiredis.a $(CCOPT)

redis-stat.o:
$(CC) -c $(CFLAGS) -Ideps/hiredis $(DEBUG) $(COMPILE_TIME) $<

redis-stat: $(STATOBJ)
cd deps/hiredis && $(MAKE) static
$(CC) -o $(STATPRGNAME) $(DEBUG) $(STATOBJ) deps/hiredis/libhiredis.a $(CCOPT)

Unable to create redis-diff and redis-dump

I downloaded the source code attached and try to make. redis-load and redis-stat are fine, but how about redis-diff and dump? Is there a document that describes the installation process properly?

Thanks,
Sri

redis-stat unable to build on Ubuntu 12.04 64-bit

Had an issue where it could not be built:

cc -o redis-stat -std=c99 -pedantic -O2 -Wall -W   -lm -pthread   -g -rdynamic -ggdb  redis-stat.o zmalloc.o utils.o deps/hiredis/libhiredis.a
redis-stat.o: In function `samplesToGraph':
/root/redis-tools/redis-stat.c:460: undefined reference to `pow'

The problem is the -lm flag needs to move to the end of the line, due to the way gcc loads things. If the make line is switched to the following, it works fine:

cc -o redis-stat -std=c99 -pedantic -O2 -Wall -W  -pthread   -g -rdynamic -ggdb redis-stat.o zmalloc.o utils.o deps/hiredis/libhiredis.a -lm

I am not the best with C compilation, so I am unsure if this is an OS specific issue, or applies to GCC in general.

System Info:
GCC: gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Uname: Linux redis 3.2.0-31-virtual #50-Ubuntu SMP Fri Sep 7 16:36:36 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Git Hash of Repo: 0f46ef40e6f178464c4c7bc3070c24ad5b5e0ec8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.