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

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