摘要: https://blog.csdn.net/IOT_AI/article/details/128392536 阅读全文
posted @ 2022-12-29 16:03 rincloud 阅读(14) 评论(0) 推荐(0)
摘要: [root@localhost containerd]# ps -ef |grep containerd root 123680 1 0 04:17 ? 00:00:00 /usr/bin/containerd root 123712 116513 0 04:18 pts/2 00:00:00 gr 阅读全文
posted @ 2022-12-01 17:23 rincloud 阅读(743) 评论(0) 推荐(0)
摘要: iptables防火墙问题 查看已有规则 iptables -S INPUT 执行以下命令运行docker网卡访问 临时方案 iptables -I INPUT -i docker0 -j ACCEPT 永久方案 vim /etc/sysconfig/iptables 添加以下内容 -A INPUT 阅读全文
posted @ 2022-11-23 10:44 rincloud 阅读(981) 评论(0) 推荐(0)
摘要: [root@localhost nmx]# execsnoop -r -t Tracing exec()s. Ctrl-C to end. ERROR: ftrace may be in use by PID 5274 /var/tmp/.ftrace-lock [root@localhost nm 阅读全文
posted @ 2022-11-22 21:52 rincloud 阅读(124) 评论(0) 推荐(0)
摘要: 一个pod进程关系如图 root 163187 0.0 0.1 712460 12828 pts/2 Sl 21:40 0:00 \_ /usr/bin/containerd-shim-runc-v2 -namespace k8s.io -id e7927073fe3617c5cfd587c17bd 阅读全文
posted @ 2022-11-11 11:34 rincloud 阅读(160) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_52690231/article/details/125172061 阅读全文
posted @ 2022-11-09 00:19 rincloud 阅读(18) 评论(0) 推荐(0)
摘要: containerd-shim-runc-v2 启动了一个ttrpc server(类似grpc) containerd 通过 ttrpc和containerd-shim-runc-v2 通信来管理容器 service Task { rpc State(StateRequest) returns ( 阅读全文
posted @ 2022-11-05 13:50 rincloud 阅读(294) 评论(0) 推荐(0)
摘要: 使用 netstat 找到进程 # netstat -antp|grep 6789 tcp 0 0 1.1.1.1:59950 1.1.1.2:6789 ESTABLISHED 45059/ceph-fuse 如上,进程 pid 为 45059。 使用 lsof 找到进程 45059 打开的所有文件 阅读全文
posted @ 2022-11-04 12:57 rincloud 阅读(264) 评论(0) 推荐(0)
摘要: 缓冲与冲洗 标准IO是带缓冲的IO,一共有3种类型的缓冲: 全缓冲:缓冲区填满后才进行IO操作,如磁盘文件 行缓冲:遇到换行符才进行IO操作,如命令行终端(stdin和stdout) 无缓冲:不经过缓冲,立即进行IO操作,如stderr 一般情况下,系统默认使用下列类型的缓冲: stderr是无缓冲 阅读全文
posted @ 2022-11-01 11:35 rincloud 阅读(55) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/sparkdev/p/9032209.html 阅读全文
posted @ 2022-10-28 00:49 rincloud 阅读(37) 评论(0) 推荐(0)