ユーザ用ツール

サイト用ツール


サイドバー

このページの翻訳:



最近の更新



Tag Cloud

01_linux:02_www:10_memcached

文書の過去の版を表示しています。


10 Memchached

インストール

# yum --enablerepo=rpmforge-extras install memcached

設定確認

# cat /etc/sysconfig/memcached 
PORT="11211"
USER="nobody"
MAXCONN="1024"
CACHESIZE="64"
OPTIONS=""

memcacheオプション

# /sbin/chkconfig memcached on

memcached-tool

[root@fl8 ~]# memcached-tool localhost display
  #  Item_Size  Max_age   Pages   Count   Full?  Evicted Evict_Time OOM
  2     120B    535414s      10   82252      no        0        0    0
  3     152B    609763s       1       1      no        0        0    0
  4     192B    535414s       1      15      no        0        0    0
  5     240B    535414s       1      21      no        0        0    0
  6     304B    535414s       1      10      no        0        0    0
  7     384B    535414s       1       5      no        0        0    0
  8     480B  21584579s       1       1      no        0        0    0
  9     600B         0s       1       0      no        0        0    0
 10     752B         0s       1       0      no        0        0    0
 11     944B  21679132s       1       1      no        0        0    0
 12     1.2K         0s       1       0      no        0        0    0
 13     1.4K         0s       1       0      no        0        0    0
 14     1.8K         0s       1       0      no        0        0    0
[root@fl8 ~]# memcached-tool localhost stats
#localhost:11211   Field       Value
         accepting_conns           1
               auth_cmds           0
             auth_errors           0
                   bytes     8662768
              bytes_read   375554929
           bytes_written   263494684
              cas_badval           0
                cas_hits           0
              cas_misses           0
               cmd_flush           0
                 cmd_get      578073
                 cmd_set     1110516
             conn_yields           0
   connection_structures          23
        curr_connections          10
              curr_items       82306
               decr_hits           0
             decr_misses           0
             delete_hits      563948
           delete_misses       79960
               evictions           0
                get_hits      370154
              get_misses      207919
               incr_hits           0
             incr_misses           0
          limit_maxbytes    67108864
     listen_disabled_num           0
                     pid        8768
            pointer_size          64
           rusage_system  335.621977
             rusage_user  368.759939
                 threads           4
                    time  1547695473
       total_connections      547386
             total_items     1094523
                  uptime    21679162
                 version       1.4.4
01_linux/02_www/10_memcached.1547695552.txt.gz · 最終更新: 2019/01/17 12:25 by matsui