redis狀態與性能監控

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服務的統計信息


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章