-rwxr-xr-x 1 root root 8990408 Mar 14 11:19 redis-benchmark -rwxr-xr-x 1 root root 11723016 Mar 14 11:19 redis-check-aof -rwxr-xr-x 1 root root 11723016 Mar 14 11:19 redis-check-rdb -rwxr-xr-x 1 root root 8694912 Mar 14 11:19 redis-cli -rwxr-xr-x 1 root root 11723016 Mar 14 11:19 redis-sentinel -rwxr-xr-x 1 root root 11723016 Mar 14 11:19 redis-server -rwxr-xr-x 1 root root 3729 Mar 12 14:50 redis-trib.rb
我在编译之前修改了server.c中一些提示,这样方便做对比:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
serverLog(LL_WARNING, "oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo"); serverLog(LL_WARNING, "Redis version=%s, bits=%d, commit=%s, modified=%d, pid=%d, just started Test Done", REDIS_VERSION, (sizeof(long) == 8) ? 64 : 32, redisGitSHA1(), strtol(redisGitDirty(),NULL,10) > 0, (int)getpid());
if (argc == 1) { serverLog(LL_WARNING, "Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/%s.conf", argv[0], server.sentinel_mode ? "sentinel" : "redis"); } else { serverLog(LL_WARNING, "Configuration loaded"); }