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

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