歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux編程 >> Linux編程 >> redis狀態與性能監控

redis狀態與性能監控

日期:2017/3/1 10:03:42   编辑:Linux編程

1、redis-benchmark
redis基准信息,redis服務器性能檢測

redis-benchmark -h localhost -p 6379 -c 100 -n 100000
100個並發連接,100000個請求,檢測host為localhost 端口為6379的redis服務器性能

2、redis-cli

redis-cli -h localhost -p 6380 monitor
Dump all the received requests in real time;
監控host為localhost,端口為6380,redis的連接及讀寫操作

redis-cli -h localhost -p 6380 info
Provide information and statistics about the server ;
提供host為localhost,端口為6380,redis服務的統計信息

Copyright © Linux教程網 All Rights Reserved