Blame SOURCES/0001-1st-man-pageis-for-redis-cli-redis-benchmark-redis-c.patch

78ee1b
From d68953c34d4d6987883ddf6158c3c69e7500667f Mon Sep 17 00:00:00 2001
78ee1b
From: Remi Collet <fedora@famillecollet.com>
78ee1b
Date: Thu, 8 Sep 2016 14:51:15 +0200
78ee1b
Subject: [PATCH 1/3] 1st man pageis for - redis-cli - redis-benchmark -
78ee1b
 redis-check-aof - redis-check-rdb - redis-server - redis.conf
78ee1b
78ee1b
as redis-sentinel is a symlink to redis-server, same page can be used (also symlinked)
78ee1b
redis.conf can also be used for sentinel.conf
78ee1b
---
78ee1b
 man/man1/redis-benchmark.1 | 132 ++++++++++++++++++++++++++++
78ee1b
 man/man1/redis-check-aof.1 |  60 +++++++++++++
78ee1b
 man/man1/redis-check-rdb.1 |  53 ++++++++++++
78ee1b
 man/man1/redis-cli.1       | 171 +++++++++++++++++++++++++++++++++++++
78ee1b
 man/man1/redis-server.1    | 117 +++++++++++++++++++++++++
78ee1b
 man/man5/redis.conf.5      |  57 +++++++++++++
78ee1b
 6 files changed, 590 insertions(+)
78ee1b
 create mode 100644 man/man1/redis-benchmark.1
78ee1b
 create mode 100644 man/man1/redis-check-aof.1
78ee1b
 create mode 100644 man/man1/redis-check-rdb.1
78ee1b
 create mode 100644 man/man1/redis-cli.1
78ee1b
 create mode 100644 man/man1/redis-server.1
78ee1b
 create mode 100644 man/man5/redis.conf.5
78ee1b
78ee1b
diff --git a/man/man1/redis-benchmark.1 b/man/man1/redis-benchmark.1
78ee1b
new file mode 100644
78ee1b
index 0000000..a3e4c62
78ee1b
--- /dev/null
78ee1b
+++ b/man/man1/redis-benchmark.1
78ee1b
@@ -0,0 +1,132 @@
78ee1b
+.TH REDIS-BENCHMARK 1 "2016" "Redis" "User commands"
78ee1b
+.SH NAME
78ee1b
+redis\-benchmark \- Redis benchmark
78ee1b
+
78ee1b
+.SH SYNOPSIS
78ee1b
+.B redis\-benchmark
78ee1b
+[ options ]
78ee1b
+.LP
78ee1b
+
78ee1b
+.SH DESCRIPTION
78ee1b
+\fBRedis\fP is an open source (BSD licensed), in-memory data structure store,
78ee1b
+used as database, cache and message broker, found at
78ee1b
+.B http://redis.io/
78ee1b
+
78ee1b
+The \fBredis\-benchmark\fP command is a command to benchmark redis-server.
78ee1b
+
78ee1b
+.SH OPTIONS
78ee1b
+.TP 15
78ee1b
+.B \-h \fIhostname\fP
78ee1b
+Server hostname (default: 127.0.0.1).
78ee1b
+.TP
78ee1b
+.B \-p \fIport\fP
78ee1b
+Server port (default: 6379).
78ee1b
+.TP
78ee1b
+.B \-s \fIsocket\fP
78ee1b
+Server socket (overrides hostname and port).
78ee1b
+.TP
78ee1b
+.B \-a \fIpassword\fP
78ee1b
+Password to use when connecting to the server.
78ee1b
+.TP
78ee1b
+.B \-c \fIclients\fP
78ee1b
+Number of parallel connections (default 50)
78ee1b
+.TP
78ee1b
+.B \-dnnum \fIdb\fP
78ee1b
+SELECT the specified db number (default 0)
78ee1b
+.TP
78ee1b
+.B \-k \fIboolean\fP
78ee1b
+1=keep alive 0=reconnect (default 1)
78ee1b
+.TP
78ee1b
+.B \-r \fIkeyspacelen\fP
78ee1b
+Use random keys for SET/GET/INCR, random values for SADD
78ee1b
+Using this option the benchmark will expand the string __rand_int__
78ee1b
+inside an argument with a 12 digits number in the specified range
78ee1b
+from 0 to keyspacelen-1. The substitution changes every time a command
78ee1b
+is executed. Default tests use this to hit random keys in the
78ee1b
+specified range.
78ee1b
+.TP
78ee1b
+.B \-P \fInumreq\fP
78ee1b
+Pipeline <numreq> requests. Default 1 (no pipeline).
78ee1b
+.TP
78ee1b
+.B \-e
78ee1b
+If server replies with errors, show them on stdout.
78ee1b
+(no more than 1 error per second is displayed)
78ee1b
+.TP
78ee1b
+.B \-q
78ee1b
+Quiet. Just show query/sec values
78ee1b
+.TP
78ee1b
+.B \-\-csv
78ee1b
+Output in CSV format
78ee1b
+.TP
78ee1b
+.B \-l
78ee1b
+Loop. Run the tests forever
78ee1b
+.TP
78ee1b
+.B \-t \fItests\fP
78ee1b
+Only run the comma separated list of tests. The test
78ee1b
+names are the same as the ones produced as output.
78ee1b
+.TP
78ee1b
+.B \-I
78ee1b
+Idle mode. Just open N idle connections and wait.
78ee1b
+
78ee1b
+.SH EXAMPLES
78ee1b
+.TP 5
78ee1b
+Run the benchmark with the default configuration against 127.0.0.1:6379:
78ee1b
+$ redis\-benchmark
78ee1b
+.TP
78ee1b
+Use 20 parallel clients, for a total of 100k requests, against 192.168.1.1:
78ee1b
+$ redis-benchmark \-h 192.168.1.1 \-p 6379 \-n 100000 \-c 20
78ee1b
+.TP
78ee1b
+Fill 127.0.0.1:6379 with about 1 million keys only using the SET test:
78ee1b
+$ redis\-benchmark \-t set \-n 1000000 \-r 100000000
78ee1b
+.TP
78ee1b
+Benchmark 127.0.0.1:6379 for a few commands producing CSV output:
78ee1b
+$ redis\-benchmark \-t ping,set,get \-n 100000 \-\-csv
78ee1b
+.TP
78ee1b
+Benchmark a specific command line:
78ee1b
+$ redis\-benchmark \-r 10000 \-n 10000 eval 'return redis.call("ping")' 0
78ee1b
+.TP
78ee1b
+Fill a list with 10000 random elements:
78ee1b
+$ redis\-benchmark \-r 10000 \-n 10000 lpush mylist __rand_int__
78ee1b
+.TP
78ee1b
+On user specified command lines __rand_int__ is replaced with a random integer
78ee1b
+with a range of values selected by the -r option.
78ee1b
+
78ee1b
+
78ee1b
+.SH BUGS
78ee1b
+See:
78ee1b
+.PD 0
78ee1b
+.B http://redis.io/support
78ee1b
+and
78ee1b
+.B https://github.com/antirez/redis/issues
78ee1b
+
78ee1b
+.SH COPYRIGHT
78ee1b
+Copyright \(co 2006\-2016
78ee1b
+Salvatore Sanfilippo
78ee1b
+.P
78ee1b
+Redistribution and use in source and binary forms, with or without
78ee1b
+modification, are permitted provided that the following conditions are met:
78ee1b
+.TP 2
78ee1b
+*
78ee1b
+Redistributions of source code must retain the above copyright notice,
78ee1b
+this list of conditions and the following disclaimer.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Redistributions in binary form must reproduce the above copyright
78ee1b
+notice, this list of conditions and the following disclaimer in the
78ee1b
+documentation and/or other materials provided with the distribution.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Neither the name of Redis nor the names of its contributors may be used
78ee1b
+to endorse or promote products derived from this software without specific
78ee1b
+prior written permission.
78ee1b
+.P
78ee1b
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
78ee1b
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
78ee1b
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
78ee1b
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
78ee1b
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
78ee1b
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
78ee1b
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
78ee1b
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
78ee1b
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
78ee1b
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
78ee1b
diff --git a/man/man1/redis-check-aof.1 b/man/man1/redis-check-aof.1
78ee1b
new file mode 100644
78ee1b
index 0000000..1569fd9
78ee1b
--- /dev/null
78ee1b
+++ b/man/man1/redis-check-aof.1
78ee1b
@@ -0,0 +1,60 @@
78ee1b
+.TH REDIS-CHECK-AOF 1 "2016" "Redis" "User commands"
78ee1b
+.SH NAME
78ee1b
+redis\-check\-aof \- Redis AOF file checker and repairer
78ee1b
+
78ee1b
+.SH SYNOPSIS
78ee1b
+.B redis\-check\-aof
78ee1b
+[\-\-fix]
78ee1b
+.IR file.aof
78ee1b
+
78ee1b
+.SH DESCRIPTION
78ee1b
+\fBRedis\fP is an open source (BSD licensed), in-memory data structure store,
78ee1b
+used as database, cache and message broker, found at
78ee1b
+.B http://redis.io/
78ee1b
+
78ee1b
+The \fBredis\-check\-aof\fP command to check or repair redis-server AOF files.
78ee1b
+
78ee1b
+.SH OPTIONS
78ee1b
+.TP 15
78ee1b
+.B \-\-fix
78ee1b
+Fix the file
78ee1b
+
78ee1b
+
78ee1b
+.SH BUGS
78ee1b
+See:
78ee1b
+.PD 0
78ee1b
+.B http://redis.io/support
78ee1b
+and
78ee1b
+.B https://github.com/antirez/redis/issues
78ee1b
+
78ee1b
+.SH COPYRIGHT
78ee1b
+Copyright \(co 2006\-2016
78ee1b
+Salvatore Sanfilippo
78ee1b
+.P
78ee1b
+Redistribution and use in source and binary forms, with or without
78ee1b
+modification, are permitted provided that the following conditions are met:
78ee1b
+.TP 2
78ee1b
+*
78ee1b
+Redistributions of source code must retain the above copyright notice,
78ee1b
+this list of conditions and the following disclaimer.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Redistributions in binary form must reproduce the above copyright
78ee1b
+notice, this list of conditions and the following disclaimer in the
78ee1b
+documentation and/or other materials provided with the distribution.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Neither the name of Redis nor the names of its contributors may be used
78ee1b
+to endorse or promote products derived from this software without specific
78ee1b
+prior written permission.
78ee1b
+.P
78ee1b
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
78ee1b
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
78ee1b
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
78ee1b
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
78ee1b
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
78ee1b
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
78ee1b
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
78ee1b
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
78ee1b
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
78ee1b
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
78ee1b
diff --git a/man/man1/redis-check-rdb.1 b/man/man1/redis-check-rdb.1
78ee1b
new file mode 100644
78ee1b
index 0000000..0e798ab
78ee1b
--- /dev/null
78ee1b
+++ b/man/man1/redis-check-rdb.1
78ee1b
@@ -0,0 +1,53 @@
78ee1b
+.TH REDIS-CHECK-RDB 1 "2016" "Redis" "User commands"
78ee1b
+.SH NAME
78ee1b
+redis\-check\-aof \- Redis RDB file checker
78ee1b
+
78ee1b
+.SH SYNOPSIS
78ee1b
+.B redis\-check\-aof
78ee1b
+.IR file.rdb
78ee1b
+
78ee1b
+.SH DESCRIPTION
78ee1b
+\fBRedis\fP is an open source (BSD licensed), in-memory data structure store,
78ee1b
+used as database, cache and message broker, found at
78ee1b
+.B http://redis.io/
78ee1b
+
78ee1b
+The \fBredis\-check\-rdb\fP command to check redis-server RDB files.
78ee1b
+
78ee1b
+.SH BUGS
78ee1b
+See:
78ee1b
+.PD 0
78ee1b
+.B http://redis.io/support
78ee1b
+and
78ee1b
+.B https://github.com/antirez/redis/issues
78ee1b
+
78ee1b
+.SH COPYRIGHT
78ee1b
+Copyright \(co 2006\-2016
78ee1b
+Salvatore Sanfilippo
78ee1b
+.P
78ee1b
+Redistribution and use in source and binary forms, with or without
78ee1b
+modification, are permitted provided that the following conditions are met:
78ee1b
+.TP 2
78ee1b
+*
78ee1b
+Redistributions of source code must retain the above copyright notice,
78ee1b
+this list of conditions and the following disclaimer.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Redistributions in binary form must reproduce the above copyright
78ee1b
+notice, this list of conditions and the following disclaimer in the
78ee1b
+documentation and/or other materials provided with the distribution.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Neither the name of Redis nor the names of its contributors may be used
78ee1b
+to endorse or promote products derived from this software without specific
78ee1b
+prior written permission.
78ee1b
+.P
78ee1b
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
78ee1b
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
78ee1b
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
78ee1b
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
78ee1b
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
78ee1b
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
78ee1b
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
78ee1b
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
78ee1b
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
78ee1b
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
78ee1b
diff --git a/man/man1/redis-cli.1 b/man/man1/redis-cli.1
78ee1b
new file mode 100644
78ee1b
index 0000000..14f84df
78ee1b
--- /dev/null
78ee1b
+++ b/man/man1/redis-cli.1
78ee1b
@@ -0,0 +1,171 @@
78ee1b
+.TH REDIS-CLI 1 "2016" "Redis" "User commands"
78ee1b
+.SH NAME
78ee1b
+redis\-cli \- Redis client
78ee1b
+
78ee1b
+.SH SYNOPSIS
78ee1b
+.B redis\-cli
78ee1b
+[ options ] [cmd [arg [arg ...]]]
78ee1b
+.LP
78ee1b
+
78ee1b
+.SH DESCRIPTION
78ee1b
+\fBRedis\fP is an open source (BSD licensed), in-memory data structure store,
78ee1b
+used as database, cache and message broker, found at
78ee1b
+.B http://redis.io/
78ee1b
+
78ee1b
+The \fBredis-cli\fP command is a command line client to redis-server.
78ee1b
+
78ee1b
+.SH OPTIONS
78ee1b
+.TP 15
78ee1b
+.B \-h \fIhostname\fP
78ee1b
+Server hostname (default: 127.0.0.1).
78ee1b
+.TP
78ee1b
+.B \-p \fIport\fP
78ee1b
+Server port (default: 6379).
78ee1b
+.TP
78ee1b
+.B \-s \fIsocket\fP
78ee1b
+Server socket (overrides hostname and port).
78ee1b
+.TP
78ee1b
+.B \-a \fIpassword\fP
78ee1b
+Password to use when connecting to the server.
78ee1b
+.TP
78ee1b
+.B \-r \fIrepeat\fP
78ee1b
+Execute specified command N times.
78ee1b
+.TP
78ee1b
+.B \-i \fIinterval\fP
78ee1b
+When -r is used, waits \fIinterval\fP seconds per command.
78ee1b
+It is possible to specify sub-second times like -i 0.1.
78ee1b
+.TP
78ee1b
+.B \-n \fIdb\fP
78ee1b
+Database number.
78ee1b
+.TP
78ee1b
+.B \-x
78ee1b
+Read last argument from STDIN.
78ee1b
+.TP
78ee1b
+.B \-d \fIdelimiter\fP
78ee1b
+Multi-bulk delimiter in for raw formatting (default: \n).
78ee1b
+.TP
78ee1b
+.B \-c
78ee1b
+Enable cluster mode (follow -ASK and -MOVED redirections).
78ee1b
+.TP
78ee1b
+.B \-\-raw
78ee1b
+Use raw formatting for replies (default when STDOUT is not a tty).
78ee1b
+.TP
78ee1b
+.B \-\-no\-raw
78ee1b
+Force formatted output even when STDOUT is not a tty.
78ee1b
+.TP
78ee1b
+.B \-\-csv
78ee1b
+Output in CSV format.
78ee1b
+.TP
78ee1b
+.B \-\-stat
78ee1b
+Print rolling stats about server: mem, clients, ...
78ee1b
+.TP
78ee1b
+.B \-\-latency
78ee1b
+Enter a special mode continuously sampling latency.
78ee1b
+.TP
78ee1b
+.B \-\-latency\-history
78ee1b
+Like \-\-latency but tracking latency changes over time.
78ee1b
+Default time interval is 15 sec. Change it using -i.
78ee1b
+.TP
78ee1b
+.B \-\-latency\-dist
78ee1b
+Shows latency as a spectrum, requires xterm 256 colors.
78ee1b
+Default time interval is 1 sec. Change it using -i.
78ee1b
+.TP
78ee1b
+.B \-\-lru\-test
78ee1b
+Simulate a cache workload with an 80-20 distribution.
78ee1b
+.TP
78ee1b
+.B \-\-slave
78ee1b
+Simulate a slave showing commands received from the master.
78ee1b
+.TP
78ee1b
+.B \-\-rdb \fIfilename\fP
78ee1b
+Transfer an RDB dump from remote server to local file.
78ee1b
+.TP
78ee1b
+.B \-\-pipe
78ee1b
+Transfer raw Redis protocol from stdin to server.
78ee1b
+.TP
78ee1b
+.B \-\-pipe-timeout \fIn\fP
78ee1b
+In --pipe mode, abort with error if after sending all data.
78ee1b
+no reply is received within \fIn\fP seconds.
78ee1b
+Default timeout: 30. Use 0 to wait forever.
78ee1b
+.TP
78ee1b
+.B \-\-bigkeys
78ee1b
+Sample Redis keys looking for big keys.
78ee1b
+.TP
78ee1b
+.B \-\-scan
78ee1b
+List all keys using the SCAN command.
78ee1b
+.TP
78ee1b
+.B \-\-pattern \fIpat\fP
78ee1b
+Useful with --scan to specify a SCAN pattern.
78ee1b
+.TP
78ee1b
+.B \-\-intrinsic-latency \fIsec\fP
78ee1b
+Run a test to measure intrinsic system latency.
78ee1b
+The test will run for the specified amount of seconds.
78ee1b
+.TP
78ee1b
+.B \-\-eval \fIfile\fP
78ee1b
+Send an EVAL command using the Lua script at \fIfile\fP.
78ee1b
+.TP
78ee1b
+.B \-\-ldb
78ee1b
+Used with --eval enable the Redis Lua debugger.
78ee1b
+.TP
78ee1b
+.B \-\-ldb-sync-mode
78ee1b
+Like --ldb but uses the synchronous Lua debugger, in
78ee1b
+this mode the server is blocked and script changes are
78ee1b
+are not rolled back from the server memory.
78ee1b
+.TP
78ee1b
+.B \-\-help
78ee1b
+Output this help and exit.
78ee1b
+.TP
78ee1b
+.B \-\-version
78ee1b
+Output version and exit.
78ee1b
+
78ee1b
+.SH EXAMPLES
78ee1b
+.TP
78ee1b
+cat /etc/passwd | redis-cli -x set mypasswd
78ee1b
+.TP
78ee1b
+redis-cli get mypasswd
78ee1b
+.TP
78ee1b
+redis-cli \-r 100 lpush mylist x
78ee1b
+.TP
78ee1b
+redis-cli \-r 100 \-i 1 info | grep used_memory_human:
78ee1b
+.TP
78ee1b
+redis-cli \-\-eval myscript.lua key1 key2 , arg1 arg2 arg3
78ee1b
+.TP
78ee1b
+redis-cli \-\-scan \-\-pattern '*:12345*'
78ee1b
+
78ee1b
+.SH BUGS
78ee1b
+See:
78ee1b
+.PD 0
78ee1b
+.B http://redis.io/support
78ee1b
+and
78ee1b
+.B https://github.com/antirez/redis/issues
78ee1b
+
78ee1b
+.SH COPYRIGHT
78ee1b
+Copyright \(co 2006\-2016
78ee1b
+Salvatore Sanfilippo
78ee1b
+.P
78ee1b
+Redistribution and use in source and binary forms, with or without
78ee1b
+modification, are permitted provided that the following conditions are met:
78ee1b
+.TP 2
78ee1b
+*
78ee1b
+Redistributions of source code must retain the above copyright notice,
78ee1b
+this list of conditions and the following disclaimer.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Redistributions in binary form must reproduce the above copyright
78ee1b
+notice, this list of conditions and the following disclaimer in the
78ee1b
+documentation and/or other materials provided with the distribution.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Neither the name of Redis nor the names of its contributors may be used
78ee1b
+to endorse or promote products derived from this software without specific
78ee1b
+prior written permission.
78ee1b
+.P
78ee1b
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
78ee1b
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
78ee1b
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
78ee1b
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
78ee1b
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
78ee1b
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
78ee1b
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
78ee1b
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
78ee1b
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
78ee1b
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
78ee1b
diff --git a/man/man1/redis-server.1 b/man/man1/redis-server.1
78ee1b
new file mode 100644
78ee1b
index 0000000..d6edd25
78ee1b
--- /dev/null
78ee1b
+++ b/man/man1/redis-server.1
78ee1b
@@ -0,0 +1,117 @@
78ee1b
+.TH REDIS-SERVER 1 "2016" "Redis" "User commands"
78ee1b
+.SH NAME
78ee1b
+redis\-server, redis\-sentinel \- Redis server
78ee1b
+
78ee1b
+.SH SYNOPSIS
78ee1b
+.B redis\-server
78ee1b
+[
78ee1b
+.IR configuration_file
78ee1b
+] [ options ] [ \-\-sentinel ]
78ee1b
+.LP
78ee1b
+.B redis\-sentinel
78ee1b
+[
78ee1b
+.IR configuration_file
78ee1b
+] [ options ]
78ee1b
+
78ee1b
+
78ee1b
+.SH DESCRIPTION
78ee1b
+\fBRedis\fP is an open source (BSD licensed), in-memory data structure store,
78ee1b
+used as database, cache and message broker, found at
78ee1b
+.B http://redis.io/
78ee1b
+.LP
78ee1b
+The \fBredis\-server\fP command is a command line to launch a Redis server.
78ee1b
+.LP
78ee1b
+The \fBredis\-sentinel\fP command is a symbolic link to the \fBredis\-server\fP
78ee1b
+command which imply the \fB\-\-sentionel\fP option.
78ee1b
+
78ee1b
+.SH OPTIONS
78ee1b
+.TP 15
78ee1b
+.B \-
78ee1b
+Read configuration from stdin.
78ee1b
+.TP
78ee1b
+.TP 15
78ee1b
+.B \-\-sentinel
78ee1b
+Run in sentinel mode
78ee1b
+.TP
78ee1b
+.B \-\-test-memory \fImegabytes\fP
78ee1b
+Run a memory check and exit.
78ee1b
+.TP
78ee1b
+.PD 0
78ee1b
+.B \-\-help
78ee1b
+.TP
78ee1b
+.PD 1
78ee1b
+.B \-h
78ee1b
+Output this help and exit.
78ee1b
+.TP
78ee1b
+.PD 0
78ee1b
+.B \-\-version
78ee1b
+.TP
78ee1b
+.PD 1
78ee1b
+.B \-v
78ee1b
+Output version and exit.
78ee1b
+.P
78ee1b
+All parameters described in \fBredis.conf\fR file can be passed as
78ee1b
+command line option, e.g.
78ee1b
+.B \-\-port
78ee1b
+.IR port
78ee1b
+.
78ee1b
+
78ee1b
+.SH EXAMPLES
78ee1b
+.TP 5
78ee1b
+Run the server with default conf
78ee1b
+redis-server
78ee1b
+.TP
78ee1b
+Run the server with a configuration file
78ee1b
+redis-server /etc/redis/6379.conf
78ee1b
+.TP
78ee1b
+Run the server changing some default options
78ee1b
+redis-server --port 7777 --slaveof 127.0.0.1 8888
78ee1b
+.TP
78ee1b
+Run the server with a configuration file and changing some options
78ee1b
+redis-server /etc/myredis.conf --loglevel verbose
78ee1b
+.TP
78ee1b
+Run in sentinel mode
78ee1b
+redis-server /etc/sentinel.conf --sentinel
78ee1b
+
78ee1b
+.SH "SEE ALSO"
78ee1b
+.PP
78ee1b
+\fBredis.conf\fR(5)
78ee1b
+
78ee1b
+.SH BUGS
78ee1b
+See:
78ee1b
+.PD 0
78ee1b
+.B http://redis.io/support
78ee1b
+and
78ee1b
+.B https://github.com/antirez/redis/issues
78ee1b
+
78ee1b
+.SH COPYRIGHT
78ee1b
+Copyright \(co 2006\-2016
78ee1b
+Salvatore Sanfilippo
78ee1b
+.P
78ee1b
+Redistribution and use in source and binary forms, with or without
78ee1b
+modification, are permitted provided that the following conditions are met:
78ee1b
+.TP 2
78ee1b
+*
78ee1b
+Redistributions of source code must retain the above copyright notice,
78ee1b
+this list of conditions and the following disclaimer.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Redistributions in binary form must reproduce the above copyright
78ee1b
+notice, this list of conditions and the following disclaimer in the
78ee1b
+documentation and/or other materials provided with the distribution.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Neither the name of Redis nor the names of its contributors may be used
78ee1b
+to endorse or promote products derived from this software without specific
78ee1b
+prior written permission.
78ee1b
+.P
78ee1b
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
78ee1b
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
78ee1b
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
78ee1b
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
78ee1b
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
78ee1b
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
78ee1b
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
78ee1b
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
78ee1b
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
78ee1b
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
78ee1b
diff --git a/man/man5/redis.conf.5 b/man/man5/redis.conf.5
78ee1b
new file mode 100644
78ee1b
index 0000000..1e0c9c9
78ee1b
--- /dev/null
78ee1b
+++ b/man/man5/redis.conf.5
78ee1b
@@ -0,0 +1,57 @@
78ee1b
+.TH REDIS.CONF 5 "2016" "Redis" "Configuration files"
78ee1b
+.SH NAME
78ee1b
+redis.conf, sentinel.conf - redis server configuration files.
78ee1b
+
78ee1b
+.SH PARAMETERS
78ee1b
+.TP
78ee1b
+All empty lines or lines beginning with '#' are ignored.
78ee1b
+.TP
78ee1b
+See inline comments for parameters description.
78ee1b
+
78ee1b
+.SH DESCRIPTION
78ee1b
+.TP
78ee1b
+\fBredis-server\fP read the configuration file passed as first argument.
78ee1b
+
78ee1b
+.SH "SEE ALSO"
78ee1b
+.PP
78ee1b
+\fBredis\-server\fR(1)
78ee1b
+
78ee1b
+
78ee1b
+.SH BUGS
78ee1b
+See:
78ee1b
+.PD 0
78ee1b
+.B http://redis.io/support
78ee1b
+and
78ee1b
+.B https://github.com/antirez/redis/issues
78ee1b
+
78ee1b
+.SH COPYRIGHT
78ee1b
+Copyright \(co 2006\-2016
78ee1b
+Salvatore Sanfilippo
78ee1b
+.P
78ee1b
+Redistribution and use in source and binary forms, with or without
78ee1b
+modification, are permitted provided that the following conditions are met:
78ee1b
+.TP 2
78ee1b
+*
78ee1b
+Redistributions of source code must retain the above copyright notice,
78ee1b
+this list of conditions and the following disclaimer.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Redistributions in binary form must reproduce the above copyright
78ee1b
+notice, this list of conditions and the following disclaimer in the
78ee1b
+documentation and/or other materials provided with the distribution.
78ee1b
+.TP
78ee1b
+*
78ee1b
+Neither the name of Redis nor the names of its contributors may be used
78ee1b
+to endorse or promote products derived from this software without specific
78ee1b
+prior written permission.
78ee1b
+.P
78ee1b
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
78ee1b
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
78ee1b
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
78ee1b
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
78ee1b
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
78ee1b
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
78ee1b
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
78ee1b
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
78ee1b
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
78ee1b
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
78ee1b
-- 
78ee1b
2.24.1
78ee1b