08 2020 档案

摘要:chown -R yill /tmp 给用户yill赋给tmp文件夹权限 阅读全文
posted @ 2020-08-14 16:03 94cool 阅读(1250) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/ce277812eca2 对于多个程序绑定同一个端口我们遇到最多的是(Port 80 was already in use),也就是说端口被占用,不能重复绑定,但是操作系统内核支持通过配置socket参数的方式来实现多个进程绑定同一个端口。 简单示例 package main import ( "context" "go... 阅读全文
posted @ 2020-08-14 11:38 94cool 阅读(2446) 评论(0) 推荐(0) 编辑
摘要:1、获取容器进程id,即PIDdocker ps 2、获取PID docker inspect --format "{{.State.Pid}}" container_id/name 3、使用nsenter切换网络命名空间nsenter -n -t (PID) 4、使用tcpdump进行每100M文件存储 tcpdump tcp -C 100m -w /tmp/xxxx.cap 阅读全文
posted @ 2020-08-14 11:28 94cool 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-05 10:54 94cool 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-05 10:53 94cool 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-05 10:52 94cool 阅读(69) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示