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: