检查OS环境脚本

# cat check_env.sh #!/bin/bash # echo " 检查CPU " ansible all -m shell -a "cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c" echo " 检查内存 " ansible
posted @ 2023-03-15 08:53  Varden  阅读(111)  评论(0编辑  收藏  举报