因为在同步时需要使用代理,可能因为代理而导致在第一次同步CentOS镜像时,或每当CentOS发布新的版本时,同步的进程总是继线退出。为了解决这个问题,写了如下一个脚本:
[user@host ~]$ cat mon_centos.sh
#!/bin/bash
export RSYNC_PROXY="xxx.xxx.xxx.xxx:3128"
while true
do
counter=`ps ax | grep rsync |grep centos |grep -v grep | wc -l`
pro_id=`ps ax | grep rsync |grep centos |grep -v grep | awk '{print $1}'`
case $counter in
0)
echo "counter=$counter"
/usr/bin/rsync -rlptvHz --partial --exclude ".~tmp~/" --exclude ".*" rsync://mirror.chpc.utah.edu/pub/centos/ /disk4/mirror/centos
;;
2)
echo "counter=$counter"
sleep 60
;;
*)
echo "counter=$counter"
sleep 60
;;
esac
sleep 60
done
#!/bin/bash
export RSYNC_PROXY="xxx.xxx.xxx.xxx:3128"
while true
do
counter=`ps ax | grep rsync |grep centos |grep -v grep | wc -l`
pro_id=`ps ax | grep rsync |grep centos |grep -v grep | awk '{print $1}'`
case $counter in
0)
echo "counter=$counter"
/usr/bin/rsync -rlptvHz --partial --exclude ".~tmp~/" --exclude ".*" rsync://mirror.chpc.utah.edu/pub/centos/ /disk4/mirror/centos
;;
2)
echo "counter=$counter"
sleep 60
;;
*)
echo "counter=$counter"
sleep 60
;;
esac
sleep 60
done
这个脚本或反而获取当前运行rsync进程的数量,当同步进程数量为0时,重新启动同步进程,否则sleep 60秒之后重新检测。
用wget 制作Cent
zend studio 


2010/01/27 11:39 | 

In past Blog posts we’ve talked about how getting into the article writing “Zone” and marketing process takes effort, but once you get there, each article takes less work as your thoughts roll out onto the page (or screen) in front of you. However, you can only get as much out of this frame of mind as you put into it. To really take advantage of “The Zone,” spend some time mining the mountains of data we make available through different EzineArticles tools. Remember that insight mining sessions can be the perfect way to uncover gems of information like popular topics in your niche, what the competition is doing and the nature of your market.
If you have this data at hand when sitting down to write, finding “The Zone” won’t be nearly as difficult, and as a result, you’ll be able to invest your time more efficiently. Here’s a list of little-known data mining tools that just might help you dig deeper for your next set of high-quality, original articles:
Video Archive – This is a comprehensive list of all the videos created by the EzineArticles video team. The archive is filled with tips, strategies and tidbits of knowledge. Recent additions include the Article Content vs. Real Life series and our 2 Minute Approval Tips series. In the archive we have all the other videos in these series, plus some gems you may have missed.
Training Series (:90 Audio Series and PDF Version) – Designed for new authors and veterans alike, both series are filled with helpful tips and strategies for more efficient article writing and marketing.
Expert Authors on Twitter and Facebook – View the social media profiles of other authors on EzineArticles. The top authors can be filtered by the category they write in, so you can see what others are doing around you.
Statistical Tools:
Most Emailed / Viewed / Published Articles – From these lists you can get a sense of the quality and quantity of the most-shared articles in our database. You, too, can end up on this list by implementing your own article writing and marketing strategy.
Most Rated Articles – Through the Article Rating System, readers can grade the value of each article they see on a star scale of 1-5. The peer-rating system provides feedback to authors and a quick review of the top articles can give insights as to writing styles and formats that work.
List of Expert Authors – Compare your writing efforts to the other Expert Authors. You can view authors by name or number of articles. If you want to investigate a single niche, you can go to that niche’s homepage and click on the “Top Authors in …” link just below the EzineArticles Search Bar.
Also, here are some fun places to check out when you’re taking a break from data mining and getting into “The Zone”:
EzineArticles Map – Watch in quasi-real-time to see the location of authors as their articles are approved.
Cartoon Archive – The archive is a great way to bring lightheartedness to your website or blog through EzineArticles-related humor. All cartoons can be posted free of charge on your own website, or you can purchase an EzineArticles mug with the cartoon emblazoned on the side.
Shop @ EzineArticles – Know a friend that loves EzineArticles and wants to show it? Visit the Shop @ EzineArticles to purchase all of your favorite EzineArticles shwag and more!
Traffic Stats – A display of real-time web traffic to EzineArticles.com as reported by Alexa.
Use these resources to better your chances of getting into “The Zone” and help you launch your next article writing and marketing campaign. Also, share any other resources you use in your next data mining session in the comment section below.
【隆鼻】首选北京281整形美容折扣网,韩国隆鼻专家亲诊,开展玻尿酸隆鼻、韩式隆鼻、假体隆鼻、注射隆鼻、膨体隆鼻、鼻尖整形、鼻翼缩小、鼻头缩小、驼峰鼻整形、鼻中隔整形等鼻部整形手术项目。
综合群:81326672
281抽脂减肥群:75078363
丰胸折扣群:108097542
颌面瘦脸整形:64219965
隆鼻整形折扣:108779973
激光整形折扣:106929699
垫鼻梁骨的方法:随着医疗整形美容技术的升级,垫鼻梁骨的方法也是层出不穷,甚至让人眼花缭乱。那么对于这些垫鼻梁骨的方法您了解多少呢?今天就让281整形网来为你简单介绍下。
281整形网鼻部整形专家介绍,垫鼻梁骨的最有效的方法是通过假体隆鼻方式来垫鼻梁骨,下面就请专家详细为大家介绍一下假体隆鼻方式来垫鼻梁骨的知识,以便人们可以更好的使这一面部整形效果好。
大家所知道垫鼻梁骨常常靠隆鼻术来实现,但是隆鼻术通常包括有鼻尖整形、鼻小柱抬高术,改善朝天鼻等几个方面,垫鼻梁骨手术设计时,我们将考虑鼻子在面部五官中的协调性,比如男性的鼻背笔直,以显示男子的阳刚;女子的鼻背略有弧度,以显示女性的柔美;鼻尖点、上唇与下颌三点成一连线,则成为“美人线”。
现在我们都是在假体隆鼻方式来垫鼻梁骨的,这种方法雕刻塑型简单、植入方便、副作用少、术后面部立体感好,是目前成熟的手术方法,为广大求美者和医生所接受。植入假体有固体硅胶、生物材料如膨体等。不论使用何种材料都要选择有经验、技术精湛的整形美容外科医生,才能使术后鼻子外形自然、流畅,切口隐蔽,不易发现。
通过以上的介绍你对垫鼻梁骨的方法都了解了吗?如果您还有什么整形疑问,可以在线咨询281整形网专家,或请拨打整形美容热线电话:13241948535 ,专家将为您提供实时在线咨询及答疑。