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

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