Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
29fddf32
Commit
29fddf32
authored
Dec 11, 2019
by
antirez
Browse files
create-cluster script tailall option.
parent
e4b6070c
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/create-cluster/create-cluster
View file @
29fddf32
...
...
@@ -71,6 +71,12 @@ then
exit
0
fi
if
[
"
$1
"
==
"tailall"
]
then
tail
-f
*
.log
exit
0
fi
if
[
"
$1
"
==
"call"
]
then
while
[
$((
PORT < ENDPORT
))
!=
"0"
]
;
do
...
...
@@ -101,5 +107,6 @@ echo "create -- Create a cluster using redis-cli --cluster create."
echo
"stop -- Stop Redis Cluster instances."
echo
"watch -- Show CLUSTER NODES output (first 30 lines) of first node."
echo
"tail <id> -- Run tail -f of instance at base port + ID."
echo
"tailall -- Run tail -f for all the log files at once."
echo
"clean -- Remove all instances data, logs, configs."
echo
"clean-logs -- Remove just instances logs."
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment