
服务器
文章平均质量分 67
weixin_45627802
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nginx lua token
nginx需安装lua模块,可使用集成环境OpenResty。 location /aa { access_by_lua ' local args = ngx.req.get_headers(); local token1 = args["appid"]; local token2 = math.floor(ngx.time()/100); loc原创 2020-10-06 15:03:27 · 237 阅读 · 0 评论 -
centos 运维
统计已连接上的,状态为“established netstat -na|grep ESTABLISHED|wc -l 统计httpd协议连接数 ps -ef|grep httpd|wc -l 各种连接状态数 netstat -n | awk ‘/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}’ 查看linux的连接数,输出每个ip的连接数,以及总的...原创 2020-04-10 09:24:10 · 152 阅读 · 0 评论 -
supervisor
supervisord -c supervisor.conf 通过配置文件启动supervisor supervisorctl -c supervisor.conf status 查看状态 supervisorctl -c supervisor.conf reload 重新载入配置文件 supervis...原创 2019-09-21 16:31:41 · 211 阅读 · 0 评论