Redis graphical Monitoring (Redis-stat)

Source: Internet
Author: User
Tags redis git clone install redis

Objective:

Redis has been used for a long time, basically in the command line aspect, later found that in addition to the command line also provides some graphical monitoring, you can visually see the Redis each instance of a use case.


Here are some common plugins that you can use to monitor Redis:

1, Redis-stat

2, Redis-live

3, Redis-faina

4, Redis-broswer


Here, just pick Redis-stat to record the notes:

Redis-stat Installation and use:

1. Installation of the operating environment:
Yum Install Ruby
Yum Install RubyGems

Since Redis-stat is written in Ruby, you need to install the above environment first;



2. Redis-stat Installation

Download:
$  git clone https://github.com/junegunn/redis-stat.git

//Package
$  gem install Redis-stat

3. Running

$ cd/root/redis-stat/bin
$./redis-stat--help You can see the instructions for using the Help
redis-stat startup parameters:
usage:redis-stat [host[:P ORT] ...] [INTERVAL [COUNT]]
 
    -A,--auth=password              PASSWORD
    -V,--verbose                    Show More info
        --style=style                Output style:unicode| ASCII
        --no-color                   suppress ANSI color codes
        --csv=output_csv_file_path   Save The result in CSV format
 
        --server[=port]              Launch redis-stat Web server (default port:63790)
        --daemon                     daemonize redis-stat. Must is used with--server opt Ion.
 
        --version                    Show version
        --help                       Show this message


Run in two ways (command-line display, graphical display of the interface)
1) Command mode display:

$./redis-stat 172.168.63.201:7000 172.168.63.201:7001 5
Description: Indicates that information is printed every 5 seconds
As follows:





2) Web interface display

$./redis-stat 172.168.63.201:7000 172.168.63.201:7001--server=7006--daemon
The browser can view Redis operations by accessing http://172.168.63.201:7006/.
Description: Indicates that the information is printed once every 10 seconds,--daemon is suspended in the background execution;

As follows:




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.