摘要: ###docker进程操作 1查看docker的配置 docker info 2根据overlay2 下的目录查找对应的容器 docker ps -q | xargs docker inspect --format '{{.State.Pid}}, {{.Id}}, {{.Name}}, {{.Gr 阅读全文
posted @ 2024-04-22 21:32 huxl1 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 1 查看topic的状态 ./kafka-topics.sh --zookeeper 127.0.0.1:2181 --describe --topic topic名字 2 查看已有topic # ./bin/kafka-topics.sh --list --zookeeper 10.246.12. 阅读全文
posted @ 2024-04-22 21:11 huxl1 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1 检查nginx活跃链接数 netstat -tunlp | grep ESTABLISHED | wc -l 2 检查配置文件是否正确 nginx -t 3 重新加载配置文件 nginx -s reload 阅读全文
posted @ 2024-04-22 21:06 huxl1 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ansible 拷贝文件命令 ansible all -m copy -a 'src=/home/finance/icc_deploy/other/jdk1.8.0_231.tar.gz dest=/tmp/'-m : 指定模块-a 参数all 表示所有主机 shell 模块命令 ansible a 阅读全文
posted @ 2024-04-22 21:04 huxl1 阅读(5) 评论(0) 推荐(0) 编辑