zoukankan      html  css  js  c++  java
  • Redis常用操作

    状态监控 - redis-stat

    安装

    yum install gcc-c++
    yum -y install ruby-devel
    yum install ruby   
    yum install rubygems  git
    
    git clone https://github.com/junegunn/redis-stat.git
    
    gem install redis-stat
    
    cd /root/redis-stat/bin
    redis-stat
    
    [#]$ redis-stat --help
    usage: redis-stat [HOST[:PORT] ...] [INTERVAL [COUNT]]
    
        -a, --auth=PASSWORD              Password
        -v, --verbose                    Show more info
            --style=STYLE                Output style: unicode|ascii
            --no-color                   Suppress ANSI color codes
            --csv[=CSV_FILE]             Print or save the result in CSV
            --es=ELASTICSEARCH_URL       Send results to ElasticSearch: [http://]HOST[:PORT][/INDEX]
    
            --server[=PORT]              Launch redis-stat web server (default port: 63790)
            --daemon                     Daemonize redis-stat. Must be used with --server option.
    
            --version                    Show version
            --help                       Show this message
    
    redis-stat host:port interval -a password
    
  • 相关阅读:
    1434. Buses in Vasyuki 夜
    SAP
    目标
    组合数
    KM算法模板
    网络流
    CodeForces 43E
    B. Unsorting Array codeforces 127
    Colorful Rainbows 127
    C. Anagram codeforces
  • 原文地址:https://www.cnblogs.com/CSunShine/p/12526645.html
Copyright © 2011-2022 走看看