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

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