当前位置:网站首页>Memcached foundation 6
Memcached foundation 6
2022-06-27 01:02:00 【franket】
Start a memcached Background processes
[email protected] memcached-1.4.24# /usr/local/bin/memcached -d -m 1024 -p 12345 -u cc -c 512 -t 10
[email protected] memcached-1.4.24# ps faux | grep memcached
root 8745 0.0 0.0 103252 828 pts/0 S+ 15:17 0:00 | _ grep memcached
cc 8732 0.1 0.0 786084 1644 ? Ssl 15:17 0:00 /usr/local/bin/memcached -d -m 1024 -p 12345 -u cc -c 512 -t 10
[email protected] memcached-1.4.24#
[email protected] 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
[email protected] memcached-1.4.24#
Option Comment
-d Run in the background as a service
-m 1024 Maximum memory allocation limit 1024M
-p 12345 TCP Listening port ( The default is 11211)
-u cc With cc Run this service as a user
-c 512 Maximum number of parallel connections
-t 10 Number of threads ( The default is 4)
stop it
Stopping is simple and rough , Use it directly kill
[email protected] memcached-1.4.24# ps faux | grep mem
root 777 0.0 0.0 0 0 ? S 13:43 0:00 _ vmmemctl
root 8822 0.0 0.0 103252 828 pts/0 S+ 15:48 0:00 | _ grep mem
cc 8732 0.0 0.0 786084 1644 ? Ssl 15:17 0:00 /usr/local/bin/memcached -d -m 1024 -p 12345 -u cc -c 512 -t 10
[email protected] memcached-1.4.24# kill 8732
[email protected] memcached-1.4.24# ps faux | grep mem
root 777 0.0 0.0 0 0 ? S 13:43 0:00 _ vmmemctl
root 8825 0.0 0.0 103252 828 pts/0 S+ 15:49 0:00 | _ grep mem
[email protected] memcached-1.4.24# netstat -ant | grep 12345
[email protected] memcached-1.4.24#
边栏推荐
- 05 | 规范设计(下):commit 信息风格迥异、难以阅读,如何规范?
- 滑环安装有哪些技巧和方法
- Count the logarithm of points that cannot reach each other in an undirected graph [classic adjacency table building +dfs Statistics - > query set optimization] [query set manual / write details]
- ESP32-添加多目录的自定义组件
- These 10 copywriting artifacts help you speed up the code. Are you still worried that you can't write a copywriting for US media?
- 网上开通证券账户安全吗 手机炒股靠谱吗
- Sword finger offer 10- ii Frog jumping on steps
- Lambda expression
- Moher College -x-forwarded-for injection vulnerability practice
- Esp32 experiment - self built web server distribution network 02
猜你喜欢
随机推荐
Keepalived 实现 Redis AutoFailover (RedisHA)17
Redis detailed tutorial
Lwip之定时机制
Solve the problem that only one line of text is displayed or not displayed in u8glib
memcached基础7
07 | workflow design: how to design a reasonable multi person development mode?
Account management, database building and four engines + cases of MySQL
大白话高并发(一)
ESP32实验-自建web服务器配网02
基于SSMP的宠物医院管理系统
Xiaobai looks at MySQL -- installing MySQL in Windows Environment
Gaussian and Summary Stats
What is the difference between the working principle of gas-liquid slip ring and other slip rings
buuctf-pwn write-ups (6)
LeetCode 142. Circular linked list II
可视化介绍 Matplotlib 和 Plotnine
XSS攻击笔记(上)
About Random Numbers
CPU exception handling
Reading graph augmentations to learn graph representations (lg2ar)









