無線&移動互聯網技術研發

          換位思考·····
          posts - 19, comments - 53, trackbacks - 0, articles - 283
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          日歷

          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          我參與的團隊

          最新隨筆

          搜索

          •  

          積分與排名

          • 積分 - 357799
          • 排名 - 155

          memcache 管理指令 --stats

          Posted on 2009-11-19 22:59 Gavin.lee 閱讀(1908) 評論(0)  編輯  收藏 所屬分類: MemCache
          連上memcache,然后stats,詳細如下:
          mqq@32_167_game:~> telnet server port
          Trying 172.16.32.166...
          Connected to 172.16.32.166.
          Escape character is '^]'.
          stats
          STAT pid 26530
          STAT uptime 5807
          STAT time 1258643806
          STAT version 1.2.2
          STAT pointer_size 64
          STAT rusage_user 12.372773
          STAT rusage_system 24.233514
          STAT curr_items 72820
          STAT total_items 5526
          STAT bytes 95306264
          STAT curr_connections 115
          STAT total_connections 1
          STAT connection_structures 116
          STAT cmd_get 12507
          STAT cmd_set 5526
          STAT get_hits 12498
          STAT get_misses 9
          STAT evictions 0
          STAT bytes_read 7363968
          STAT bytes_written 15636889
          STAT limit_maxbytes 2147483648
          STAT threads 1
          END

          pid memcache服務器的進程ID
          uptime 服務器已經運行的秒數
          time 服務器當前的unix時間戳
          version memcache版本
          pointer_size 當前OS的指針大小(32位系統一般是32bit)
          rusage_user 進程的累計用戶時間
          rusage_system 進程的累計系統時間
          curr_items 服務器當前存儲的items數量
          total_items 從服務器啟動以后存儲的items總數量
          bytes 當前服務器存儲items占用的字節數
          curr_connections 當前打開著的連接數
          total_connections 從服務器啟動以后曾經打開過的連接數
          connection_structures 服務器分配的連接構造數
          cmd_get get命令(獲取)總請求次數
          cmd_set set命令(保存)總請求次數
          get_hits 總命中次數
          get_misses 總未命中次數
          evictions 為獲取空閑內存而刪除的items數(分配給memcache的空間用滿后需要刪除舊的items來得到空間分配給新的items)
          bytes_read 總讀取字節數(請求字節數)
          bytes_written 總發送字節數(結果字節數)
          limit_maxbytes 分配給memcache的內存大小(字節)
          threads 當前線程數
          主站蜘蛛池模板: 漳州市| 郁南县| 济源市| 农安县| 磐安县| 平顺县| 哈密市| 济宁市| 城市| 时尚| 梅州市| 宝兴县| 北海市| 潮州市| 东莞市| 云阳县| 巴南区| 项城市| 邻水| 名山县| 建始县| 内乡县| 榆树市| 镇康县| 孝感市| 潞城市| 富顺县| 乾安县| 衡山县| 襄垣县| 周口市| 武功县| 江都市| 乐业县| 望都县| 阿城市| 平度市| 桃江县| 临桂县| 黄冈市| 通江县|