Loading [MathJax]/jax/output/CommonHTML/config.js
前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >memcached基础7

memcached基础7

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

进程状态检查

使用下列方法可以检查线程数量

root@h101 memcached-1.4.24# ps fuax | grep mem

root 777 0.0 0.0 0 0 ? S 13:43 0:00 _ vmmemctl

root 8857 0.0 0.0 103252 824 pts/0 S+ 15:52 0:00 | _ grep mem

cc 8835 0.0 0.0 786084 1640 ? Ssl 15:50 0:00 /usr/local/bin/memcached -d -m 1024 -p 12345 -u cc -c 512 -t 10

root@h101 memcached-1.4.24# netstat -ant | grep 12345

tcp 0 0 0.0.0.0:12345 0.0.0.0:* LISTEN

tcp 0 0 :::12345 :::* LISTEN

root@h101 memcached-1.4.24# pstree -p 8835

memcached(8835)─┬─{memcached}(8836)

代码语言:txt
AI代码解释
复制
            ├─{memcached}(8837)
代码语言:txt
AI代码解释
复制
            ├─{memcached}(8838)
代码语言:txt
AI代码解释
复制
            ├─{memcached}(8839)
代码语言:txt
AI代码解释
复制
            ├─{memcached}(8840)
代码语言:txt
AI代码解释
复制
            ├─{memcached}(8841)
代码语言:txt
AI代码解释
复制
            ├─{memcached}(8842)
代码语言:txt
AI代码解释
复制
            ├─{memcached}(8843)
代码语言:txt
AI代码解释
复制
            ├─{memcached}(8844)
代码语言:txt
AI代码解释
复制
            ├─{memcached}(8845)
代码语言:txt
AI代码解释
复制
            └─{memcached}(8846)

root@h101 memcached-1.4.24# ps -mp 8835

PID TTY TIME CMD

8835 ? 00:00:00 memcached

代码语言:txt
AI代码解释
复制
- -        00:00:00 -
- -        00:00:00 -
- -        00:00:00 -
- -        00:00:00 -
- -        00:00:00 -
- -        00:00:00 -
- -        00:00:00 -
- -        00:00:00 -
- -        00:00:00 -
- -        00:00:00 -
- -        00:00:00 -
- -        00:00:00 -root@h101 memcached-1.4.24# 

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
暂无评论
推荐阅读
编辑精选文章
换一批
memcached基础8
root@h101 memcached-1.4.24# netstat -ant | grep 12345
franket
2022/06/26
1760
memcached基础6
root@h101 memcached-1.4.24# /usr/local/bin/memcached -d -m 1024 -p 12345 -u cc -c 512 -t 10
franket
2022/06/26
2260
memcached基础1
root@h101 src# tar -zxvf memcached-1.4.24.tar.gz
franket
2022/06/26
3190
memcached基础2
root@h101 memcached-1.4.24# rpm -qa | grep libevent
franket
2022/06/26
2400
memcached基础5
root@h101 memcached-1.4.24# /usr/local/bin/memcached -h
franket
2022/06/26
1970
memcached基础
Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls
franket
2022/06/26
4350
memcached基础3
root@h101 memcached-1.4.24# yum -y install libevent-devel.x86_64
franket
2022/06/26
2780
memcached基础4
checking build system type... x86_64-unknown-linux-gnu
franket
2022/06/26
3140
RabbitMQ集群II1
单机集群 在同一个OS中运行多个RabbitMQ node主要要满足以下两个条件: 1 每一个node使用的名字不能重复 2 每一个node使用的port / IP不能重复 [root@h101 ~]# rabbitmqctl status Status of node rabbit@h101 ... Error: unable to connect to node rabbit@h101: nodedown DIAGNOSTICS =========== attempted to contact:
franket
2022/05/03
3100
Mycat HA(高可用) 与 LB(负载均衡)13
正确的写法是 #contimeout 5000 timeout connect 5000 #clitimeout 50000 timeout client 50000 #srvtimeout 50000 timeout server 50000 Note: mycat官方文档中是使用 listen all_mycat 192.168.100.101:8888 的方式对ip进行绑定,但这种方式已经不被支持,如果使用这种方式,会有如下报错 [root@h101 haproxy]# /usr/loca
franket
2021/12/02
4900
Codis 基础5
部署Codis集群 启动zookeeper服务 配置 zookeeper [root@h101 zookeeper-Standalone]# grep -v "^#" conf/zoo.cfg tickTime=2000 initLimit=10 syncLimit=5 dataDir=/tmp/zookeeper dataLogDir=/tmp/zookeeper clientPort=2180 [root@h101 zookeeper-Standalone]# 启动 zookeeper [root@
franket
2022/03/22
2080
Jenkins 基础3
启停 启动 [root@h101 ~]# /etc/init.d/jenkins start Starting Jenkins [ OK ] [root@h101 ~]# ps faux | grep jenkins root 4064 0.0 0.0 103256 828 pts/0 S+ 20:32 0:00 | \_ grep jenkins jenkins 39
franket
2022/03/21
2060
ZooKeeper 基础2
服务操作 启动服务 [root@h101 zookeeper-3.4.6]# cp conf/zoo_sample.cfg conf/zoo.cfg [root@h101 zookeeper-3.4.6]# bin/zkServer.sh start JMX enabled by default Using config: /root/zk/zookeeper-3.4.6/bin/../conf/zoo.cfg Starting zookeeper ... STARTED [root@h101 zook
franket
2022/03/25
2210
Solr基础操作15
原来的两个 java 分别监听在 8983 和 7574 ,现在已经没有了Tip: 监听的端口会马上消失,但是还有一些残留的连接处于 TIME_WAIT 状态,timeout 后会自动消失,但此刻管理界面已经无法访问了[root@h102 solr-5.3.0]# ps fuax | grep solr root 64883 0.0 0.0 103252 828 pts/1 S+ 13:56 0:00 | \_ grep solr[root@h102 solr-5
franket
2022/06/29
2320
nc基础用法6
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
franket
2022/04/24
5480
Varnish 基础概览6
再次使用浏览器访问 http://192.168.100.101/ 或 http://127.0.0.1/ 就可以获得 www.boohee.com 的主页内容
franket
2022/06/30
3320
NTP 升级5
尝试启动服务 [root@h101 sbin]# /etc/init.d/ntpd status ntpd is stopped [root@h101 sbin]# /etc/init.d/ntpd start Starting ntpd: /usr/sbin/ntpd: The 'user' option has been disabled. -- built without --enable-clockctl or --enable-linuxcaps or --enable-solarisprivs
franket
2022/04/25
5450
SSDB基础4
SSDB 启动脚本 修改 configs 配置,使其指向正确的位置 [root@h101 tools]# cp /usr/local/src/ssdb-master/tools/ssdb.sh /etc/init.d/ssdb [root@h101 tools]# vim ssdb.sh [root@h101 tools]# grep configs= /etc/init.d/ssdb # configs="/data/ssdb_data/test/ssdb.conf /data/ssdb_data/
franket
2022/04/23
2920
Mycat 基础6
端口开启情况(同时打开防火墙) [root@h102 mycat]# netstat -ant | grep 8066 tcp 0 0 :::8066 :::* LISTEN [root@h102 mycat]# lsof -i :8066 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 32760 ro
franket
2021/12/03
2430
Mycat HA(高可用) 与 LB(负载均衡)14
浏览器中输入 http://192.168.100.101:1234/admin ,进行查看
franket
2021/12/02
2860
相关推荐
memcached基础8
更多 >
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档