摘要: shell监控网站是否自动运行并自动重启 也可以使用curl监控网页返回代码 curl -o /dev/null --retry 3 --retry-max-time 8 -s -w %{http_code} www.baidu.com 阅读全文
posted @ 2017-11-16 11:35 paul_hch 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 临时增加IP命令:ifconfig eth0:1 ip地址 netmask 子网码 broadcast 广播地址 gateway 网关 ifconfig eth0:1 10.1.104.65 netmask 255.255.255.0 broadcast 10.1.104.255 gateway 1 阅读全文
posted @ 2017-11-16 09:17 paul_hch 阅读(3767) 评论(1) 推荐(0) 编辑