zoukankan      html  css  js  c++  java
  • redis-stat 安装

    apt-get install ruby    
    apt-get install rubygems

    redis-stat安装:

    cd/root
    git clone https://github.com/junegunn/redis-stat.git
    cd/root/redis-stat/bin
    ###./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=OUTPUT_CSV_FILE_PATH   Save the result inCSV format
     
            --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命令行模式
    redis-stat
    redis-stat1
    redis-stat110
    redis-stat--verbose
    redis-stat localhost:63801 10
    redis-stat localhost localhost:6380localhost:63815
    redis-stat localhost localhost:63801 10 --csv=/tmp/output.csv--verbose
    redis-stat web模式:
    redis-stat--server
    redis-stat--verbose--server=80805
    redis-stat--server--daemon


    案例 redis-stat 54.191.117.138:6380 54.186.241.58:6380 --server=8380 --daemon
  • 相关阅读:
    转载:iOS开发的22个奇谲巧技
    解决pathForResource返回nil, 无法读取plist文件问题
    小项目三:登陆窗口
    小项目一: UIButton的使用
    转载:iOS 8 自适应 Cell
    转载:iOS 8 AutoLayout与Size Class自悟
    转载:总结iOS 8和Xcode 6的各种坑
    [转]Xcode6中如何添加pch文件
    UIButton和UIImageView的区别
    控件的属性
  • 原文地址:https://www.cnblogs.com/xiaoleiel/p/8300889.html
Copyright © 2011-2022 走看看