Mysql with memcached 啟動與操作
啟動:
memcached -d -p 11211 -l 192.0.2.151 -u linfy
操作:
[root@linfytest3 ~]# telnet 192.0.2.151 11211
Trying 192.0.2.151...
Connected to 192.0.2.151.
Escape character is '^]'.
set key1 0 60 9
seaprince
STORED
get key1
VALUE key1 0 9
seaprince
END
seaprince
ERROR
stats
STAT pid 5211
STAT uptime 2640
STAT time 1435995957
STAT version 1.4.15
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT rusage_user 0.112718
STAT rusage_system 0.091843
STAT curr_connections 5
STAT total_connections 9
STAT connection_structures 6
STAT reserved_fds 20
STAT cmd_get 5
STAT cmd_set 1
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 1
STAT get_misses 4
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 358
STAT bytes_written 3464
STAT limit_maxbytes 67108864
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT hash_power_level 16
STAT hash_bytes 524288
STAT hash_is_expanding 0
STAT bytes 78
STAT curr_items 1
STAT total_items 1
STAT expired_unfetched 0
STAT evicted_unfetched 0
STAT evictions 0
STAT reclaimed 0
END
get key1
END
set key1 0 3600 3 123
123
STORED
incr key1 5
128
decr key1 5
123
delete key1
DELETED
get key1
END
quit
Trying 192.0.2.151...
Connected to 192.0.2.151.
Escape character is '^]'.
set key1 0 60 9
seaprince
STORED
get key1
VALUE key1 0 9
seaprince
END
seaprince
ERROR
stats
STAT pid 5211
STAT uptime 2640
STAT time 1435995957
STAT version 1.4.15
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT rusage_user 0.112718
STAT rusage_system 0.091843
STAT curr_connections 5
STAT total_connections 9
STAT connection_structures 6
STAT reserved_fds 20
STAT cmd_get 5
STAT cmd_set 1
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 1
STAT get_misses 4
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 358
STAT bytes_written 3464
STAT limit_maxbytes 67108864
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT hash_power_level 16
STAT hash_bytes 524288
STAT hash_is_expanding 0
STAT bytes 78
STAT curr_items 1
STAT total_items 1
STAT expired_unfetched 0
STAT evicted_unfetched 0
STAT evictions 0
STAT reclaimed 0
END
get key1
END
set key1 0 3600 3 123
123
STORED
incr key1 5
128
decr key1 5
123
delete key1
DELETED
get key1
END
quit
Trying 192.0.2.151...
Connected to 192.0.2.151.
Escape character is '^]'.
set key1 0 3600 3 123
123
STORED
incr key1 8
131
decr key1 6
125
get key1
VALUE key1 0 3
125
END
delete key1
DELETED
get key1
END
quit
Connection closed by foreign host.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/543979/viewspace-1723244/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL配置與啟動MySql
- MySQL簡介與啟動MySqlMySql
- Memcached安裝及啟動指令碼指令碼
- mysql啟動與關閉(手動與自動)MySql
- 通過MySQL的UDFs和Trigger操作Memcached薦MySql
- memcached 命令操作詳解
- mysql 啟動MySql
- PHP memcached 其他常用操作方法PHP
- PHP memcached 利用遠端終端連線、操作memcached伺服器PHP伺服器
- 【Redis與Memcached比較】Redis
- 對比 Redis 與 MemcachedRedis
- nacos啟動,MySQL無密碼啟動MySql密碼
- MySQL服務名無效或者MySQL正在啟動 MySQL無法啟動MySql
- 使用python實現memcached的啟動服務指令碼rcPython指令碼
- 如何實現 Logstash/Elasticsearch 與MySQL自動同步 更新操作 和 刪除操作 ?ElasticsearchMySql
- 【MySql】開機自動啟動mysql服務MySql
- MySQL啟動失敗MySql
- 解壓啟動MySQLMySql
- MySQL 啟動原理剖析MySql
- mysql 啟動錯誤MySql
- Redis與Memcached的區別Redis
- 談談Memcached與Redis(四)Redis
- LDAP啟動TLS 完整操作流程LDATLS
- 在 Windows 平臺下安裝與配置 MySQL 5.7.36之啟動與關閉MySQL服務WindowsMySql
- MySQL檢視簡介與操作MySql
- memcache與memcached的區別與安裝
- Memcached安裝與使用例項
- memcached分散式原理與實現分散式
- Linux啟動mysql命令LinuxMySql
- 啟動MySql資料庫MySql資料庫
- Mac命令列啟動MySQLMac命令列MySql
- memcached安裝及開啟SASL驗證
- nginx關閉/重啟/啟動的操作方法Nginx
- 解讀MySQL 8.0資料字典的初始化與啟動MySql
- MySQL備份與恢復操作解析MySql
- Ubuntu 下啟動/停止/重啟mysql服務UbuntuMySql
- MongoDB配置與啟動MongoDB
- PostgreSQL:啟動與停止SQL