首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >memcached基础8

memcached基础8

作者头像
franket
发布2022-06-26 23:32:37
发布2022-06-26 23:32:37
2430
举报
文章被收录于专栏:技术杂记技术杂记

修改部分参数,重启,发现如期进行了调整

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)

代码语言:txt
复制
            ├─{memcached}(8919)
代码语言:txt
复制
            ├─{memcached}(8920)
代码语言:txt
复制
            ├─{memcached}(8921)
代码语言:txt
复制
            ├─{memcached}(8922)
代码语言:txt
复制
            └─{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 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档