Shell脚本并发执行
生产实践:
使用shell脚本并发查询存在单点容器的服务树节点
学习技巧:
curl使用、模拟队列并发、fifo管道
脚本内容:
选取404个服务树节点,通过shell脚本并发查出有单点容器的节点并输出单点容器ip、服务树节点信息,使用模拟队列和fifo管道两种查询方式。可以先了解下shell脚本并发...
Continue reading >>生产实践:
使用shell脚本并发查询存在单点容器的服务树节点
学习技巧:
curl使用、模拟队列并发、fifo管道
脚本内容:
选取404个服务树节点,通过shell脚本并发查出有单点容器的节点并输出单点容器ip、服务树节点信息,使用模拟队列和fifo管道两种查询方式。可以先了解下shell脚本并发...
Continue reading >>The following methods demonstrate different methods on how to compute the time a potion of code or script take to complete their execution.
Time Methods - Full Examples (141 downloads)
生产实践:
用于vps、博客等备份
学习技巧:
七牛云qrsync、zip命令、mail邮件使用
脚本内容:
首先去七牛云创建一个私有的对象存储空间,拿到访问的key,然后配置好qrsync客户端,将需要备份的文件和目录打包,之后创建一个定时任务跑脚本就行了。qrsync使用:qrsync备份原理及使...
Continue reading >>◎Shell版俄罗斯方块,网上大神的作品,不服不行,直接看效果。

shell实现如下:
#!/bin/bash # Tetris Game # 10.21.2003 xhchen<[email]xhchen@winbond.com.tw[/email]> #APP declaration APP_NA...Continue reading >>