修改部分参数,重启,发现如期进行了调整
root@h101 memcached-1.4.24# kill 8835
root@h101 memcached-1.4.24# netstat -ant | grep 12345
root@h101 memcached-1.4.24# /usr/local/bin/memcached -d -m 1024 -p 12354 -u test -c 512 -t 5
root@h101 memcached-1.4.24# ps faux | grep mem
root 777 0.0 0.0 0 0 ? S 13:43 0:00 _ vmmemctl
root 8925 0.0 0.0 103252 828 pts/0 S+ 16:04 0:00 | _ grep mem
test 8917 0.4 0.0 407052 1360 ? Ssl 16:04 0:00 /usr/local/bin/memcached -d -m 1024 -p 12354 -u test -c 512 -t 5
root@h101 memcached-1.4.24# netstat -ant | grep 12354
tcp 0 0 0.0.0.0:12354 0.0.0.0:* LISTEN
tcp 0 0 :::12354 :::* LISTEN
root@h101 memcached-1.4.24# pstree -p 8917
memcached(8917)─┬─{memcached}(8918)
├─{memcached}(8919) ├─{memcached}(8920) ├─{memcached}(8921) ├─{memcached}(8922) └─{memcached}(8923)root@h101 memcached-1.4.24#
常用命令
telnet
使用 telnet 连接实例
root@h101 memcached-1.4.24# telnet localhost 12354
Trying ::1...
Connected to localhost.
Escape character is '^]'.
ERROR
ERROR
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。