Fanout

this utility allows you to execute the same command on multiple NIX servers via ssh terminals.
Original article is at http://www.samag.com/documents/s=9365/sam0405g/0405g.htm

Installing Fanout

Fanout and fanterm are shell scripts and require no compiling or other building. Simply download the tarball from stearns.org (or one of its mirrors), extract it, and put the relevant scripts in one of the local bin directories in your PATH. The current version as of this writing is 0.6.1. The installation is as simple as the following (putting the relevant files in /opt/adm/bin):




[jd@dace] $ cd /tmp
[jd@dace] $ wget http://www.stearns.org/fanout/fanout-0.6.1.tar.gz
[download output]
[jd@dace] $ gzip -c fanout-0.6.1.tar.gz | tar xf -
[jd@dace] $ cd fanout-0.6.1
[jd@dace] $ cp fanout fanterm fanmux fanmux.sh /opt/adm/bin


There are also README, INSTALL, and other documentation files provided with fanout, which you should read and understand before proceeding.

Share