test_pkg(){ | |
echo "Test" | |
shell_log "Test" | |
STATUS=$(curl -s --head http://www.baiduasdfasdfasdf.com | grep '200' | wc -l) | |
if [ $STATUS = 1 ];then | |
echo "OK" | |
else | |
exit; | |
fi | |
} |
shell web状态监测
猜你喜欢
转载自www.cnblogs.com/cheyunhua/p/12145098.html
今日推荐
周排行