svennd svennd - 1 year ago
300 0

No description

PHP

PHP

watch 'php -r '"'"'$m=new Memcache;$m->connect("127.0.0.1", 11211);print_r($m->getstats());'"'"

6

Array
(
    [pid] => 1095
    [uptime] => 241437
    [time] => 1452086845
    [version] => 1.4.4
    [pointer_size] => 32
    [rusage_user] => 59.562945
    [rusage_system] => 130.297191
    [curr_connections] => 44
    [total_connections] => 6413
    [connection_structures] => 45
    [cmd_get] => 3908078
    [cmd_set] => 13314
    [cmd_flush] => 2
    [get_hits] => 3900080
    [get_misses] => 7998
    [delete_misses] => 377
    [delete_hits] => 332
    [incr_misses] => 0
    [incr_hits] => 0
    [decr_misses] => 0
    [decr_hits] => 0
    [cas_misses] => 0
    [cas_hits] => 0
    [cas_badval] => 0
    [auth_cmds] => 0
    [auth_errors] => 0
    [bytes_read] => 129175119
    [bytes_written] => 7133923105
    [limit_maxbytes] => 67108864
    [accepting_conns] => 1
    [listen_disabled_num] => 0
    [threads] => 4
    [conn_yields] => 0
    [bytes] => 122920
    [curr_items] => 57
    [total_items] => 7279
    [evictions] => 0
)