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

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