Monday, February 6, 2012

How To Execute Commands Simultaneously On Multiple Machine

MULTIXTERM creates multiple xterms that can be driven together or separately.

Follow this step .....

You need to install these two packages EXPECT, EXPECTK
 
1. [root@linus ~]# yum install expect expectk -y

Now you have multixterm available in your system.
Here two machine one is 192.168.0.2 and second is 192.168.0.3
There are the two machine i want some execute command simultaneously on these two machine.
2. [root@linux ~]# multixterm -xc "ssh root@%n" 192.168.0.2 192.168.0.3

You have the "std in window" like this. 


  
Click STDIN window and try to make a directory .

***Enjoy the magic***



 




Favorites