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