shell 檢測keepalived+nginx

shell 檢測keepalived+nginx #!/bin/bash check(){ for server in nginx keepalived do pidof $server if [ ? − e q 0 ] ; t h e n e c h o " ? -eq 0 ]; then echo " ?−eq0];thenecho"server is ok" else echo 「$serv
相關文章
相關標籤/搜索