参考: http://www.51testing.com/html/28/116228-238978.html http://blog.chinaunix.net/uid-27571599-id-3473078.html 在bash中,使用后台任务来实现任务的多进程化。在不加控制的模式下,不管有多少任务,全部都后
netstat -ntuActive Internet connections (w/o servers)Proto Recv-Q Send-Q Local Address Foreign Address Statetcp 0 0 127.0.0.1:8152 127.0.0.1:4193 TIME_WAITtcp 0 0 127.0.0.1:8152 127.0.0
#!/bin/bash # # #this is install keepalived+lvs-DR # # tar_dir=/usr/src configure_yum() { echo "[rhel-local]">/etc/yum.repos.d/rhel-local.repo echo "baseurl=file:///media
#!/bin/bash###this is for install keepalived bash##check_network(){ ping www.baidu.com -c 5 >/dev/null 2>&1 ret=$? if [ $ret -ne 0 ]; then return $ret; else echo "network is
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号