Redis boot, close, view status

Source: Internet
Author: User
Tags redis
View the status of a Redis native

Redis-cli-h 192.168.12.12-p 6379-a a603fd9c-f96a-43d9-8913-c49947ee14fe info Replication start Redis service

Sudo/usr/bin/redis-server/etc/redis/redis.conf starting the Redis service as a Redis identity

Sudo-u redis/usr/bin/redis-server/etc/redis/redis.conf kills Redis user process

Sudo-u redis kill-9 Process ID redis master-slave replication configuration

Bind 192.168.12.12
Slaveof 192.168.12.11 6379
Masterauth "A603fd9c-f96a-43d9-8913-c49947ee14fe"
Requirepass "A603fd9c-f96a-43d9-8913-c49947ee14fe" off Redis user-initiated Redis-server

Sudo-u redis redis-cli-h 10.89.131.107-p 6379-a a603fd9c-f96a-43d9-8913-c49947ee14fe shutdown

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.