当我们管理数十台或更多 Linux 服务器的时候,往往需要在每台服务器上执行同样的命令,比如我们想一次查看10台 Xen 服务器(node)上系统负载情况,或者想知道哪台 Xen 服务器有剩余内存可以分给新客户,又或者想执行 df 命令看看哪个服务器上还有多的硬盘空间等等,除了可以用脚本或工具统一收集这些信息外,我们还可以考虑使用一些同步管理多个 SSH 会话的小工具来帮助管理多台服务器,节省时间提高管理效率。在 Linux 上可以用 pdsh、ClusterSSH 和 mussh;在 Mac 上可以用 csshX.
使用 csshX 很简单,下载解压后就可以运行,如果要同时 ssh 到4个服务器的话:
$ ./csshX 192.168.0.1 192.168.0.2 192.168.0.3 192.168.0.4
也可以把这些要 ssh 管理的 IP 写到一个文件里,然后加载这个文件:
$ vi xenhosts
192.168.0.1
192.168.0.2
192.168.0.3
192.168.0.4
$ ./csshX --hosts xenhosts
转载自:http://www.vpsee.com/2011/04/csshx-a-cluster-ssh-tool-for-mac/
原创文章如转载,请注明:转载自深度VPS [ http://www.deepvps.com ]―――――――――――――――――――――――――――――――――――――――――
需要翻墙利器? 请安装Wuala,查找和添加gfwblog为好友,就可高速下载翻墙软件,或访问http://tinyurl.com/gfwblog直接下载。
推特用户请点击这里免翻墙上推特
请点击这里下载翻墙软件
更多翻墙方法请发电邮(最好用Gmail)到:fanqiang70ma@gmail.com
请阅读和关注中国数字时代、翻墙技术博客GFW BLOG(免翻墙)
31 条评论:
buy tramadol online tramadol hcl 50 mg vs hydrocodone - discount coupons for tramadol
xanax online xanax no prescription overnight delivery - what is xanax 2mg for
buy tramadol online buy tramadol us pharmacy - tramadol overdose in canine
alprazolam mg xanax drug bars - does xanax show up in hair drug test
buy tramadol online get over tramadol withdrawal - tramadol 50mg wiki
tramadol generic tramadol for dogs versus humans - 100mg tramadol for pain
buy tramadol online buy tramadol echeck - tramadol 50 mg once a day
xanax online xanax xr 1 mg tablet - generic xanax rating
carisoprodol 350 mg carisoprodol 350 mg narcotic - carisoprodol st john's wort
buy tramadol online tramadol hcl 50 mg para que es - tramadol hcl 50 mg for migraines
xanax online xanax online with mastercard - buy xanax online no prescription australia
generic xanax xanax bars with alcohol - xanax bars amount
buy tramadol without a script lowest dosage tramadol - tramadol 50mg recommended dosage
xanax online percocet xanax high - illegal to buy xanax online
cialis online generic cialis will available - cialis online with mastercard
xanax online white oval 2mg xanax - xanax bars how much to take
learn how to buy tramdadol tramadol hcl vs tramadol - tramadol buy usa
learn how to buy tramdadol pill max order tramadol ultram online - tramadol for dogs no prescription
buy tramadol buy tramadol with cod delivery - buy tramadol online no prescription
http://buytramadolonlinecool.com/#28875 tramadol high tolerance - tramadol hydrochloride get high
buy tramadol usa happens you overdose tramadol - tramadol 50mg 100ct
http://landvoicelearning.com/#74967 tramadol hcl 93 - buy tramadol usa
buy tramadol overnight cod cheap tramadol cod - tramadol urine test
buy tramadol buy tramadol cod free - tramadol dosage for high
buy tramadol online no prescription cheap tramadol hcl 50 mg street value - tramadol 50mg tablets dosage
buy tramadol tramadol order online tramadol 50mg - usual dosage tramadol
buy tramadol cheap online tramadol ultram - best place order tramadol
buy ativan online lorazepam 1mg tabletten - ativan side effects dry mouth
ativan for sale lorazepam 1 mg n1 - ativan side effects hives
xanax online prescription xanax on drug screen test - 2mg xanax high
http://bayshorechryslerjeep.com/#1833 .5 xanax how many to get high - xanax under tongue or swallow
发表评论