大家都说好记性不如烂blog

博客园 首页 新随笔 联系 订阅 管理

2010年12月29日 #

摘要: IP Bonding or Teaming in Linux – RHEL 5IP Bonding or Teaming is a method of combining all the network interfaces togather into one with one of the types like Network Fault Tolerance, Round Robin, Back up, Loadbalancing etc. So it looks virtually as a single interface to the outside world providing h 阅读全文
posted @ 2010-12-29 13:28 leqiangw 阅读(437) 评论(0) 推荐(0) 编辑

摘要: Expect是在Tcl基础上创建起来的,它还提供了一些Tcl所没有的命令,它可以用来做一些linux下无法做到交互的一些命令操作,在远程管理方面发挥很大的作用。spawn命令激活一个Unix程序来进行交互式的运行。 send命令向进程发送字符串。expect命令等待进程的某些字符串。 expect支持正规表达式并能同时等待多个字符串,并对每一个字符串执行不同的操作.使用示例: 阅读全文
posted @ 2010-12-29 10:25 leqiangw 阅读(529) 评论(0) 推荐(0) 编辑