public marks

PUBLIC MARKS from camel with tags script & control

November 2008

Linux.com :: Parallel SSH execution and a single shell to control them all

(via)
Many people use SSH to log in to remote machines, copy files around, and perform general system administration. If you want to increase your productivity with SSH, you can try a tool that lets you run commands on more than one remote machine at the same time. Parallel ssh, Cluster SSH, and ClusterIt let you specify commands in a single terminal window and send them to a collection of remote machines where they can be executed. Why you would need a utility like this when, using openSSH, you can create a file containing your commands and use a bash for loop to run it on a list of remote hosts, one at a time? One advantage of a parallel SSH utility is that commands can be run on several hosts at the same time. For a short-running task this might not matter much, but if a task needs an hour to complete and you need to run it on 20 hosts, parallel execution beats serial by a mile. Also, if you want to interactively edit the same file on multiple machines, it might be quicker to use a parallel SSH utility and edit the file on all nodes with vi rather than concoct a script to do the same edit. Many of these parallel SSH tools include support for copying to many hosts at once (a parallel version of scp) or using rsync on a collection of hosts at once. Because the parallel SSH implementations know about all the hosts in a group, some of them also offer the ability to execute a command "on one host" and will work out which host to pick using load balancing. Finally, some parallel SSH projects let you use barriers so that you can execute a collection of commands and explicitly have each node in the group wait until all the nodes have completed a stage before moving on to the next stage of processing.

January 2008

Create Disk Usage Reports with durep -- Ubuntu Geek

urep is a perl script used for disk usage reports. It can generate text output with bar graphs to allow easy comparisons of disk usage between directories. It can also generate web pages which can be navigated through the directory structure. This allows easy visual monitoring of disk usage. durep was designed for monitoring disk usage in a more visual way than du. The du program works fine but doesn’t allow a lot of control over how the results are displayed. This perl script is designed to produce output more useful for reports.

camel's TAGS related to tag script

ajax +   analytics +   apache +   apt +   backup +   bash +   blog +   blogmarks.net +   captchas +   class +   cluster +   cms +   code +   configuration +   control +   convert +   corner +   css +   database +   debian +   debug +   dns +   dom +   drbd +   edit +   effects +   email +   faster +   file +   flash +   framework +   free +   google +   google_analytics +   greasemonkay +   html +   http +   ie +   image +   images +   install +   interface +   internet +   javascript +   jQuery +   linux +   list +   livre +   local +   log +   lvm +   mail +   management +   menu +   migration +   Mirror +   mysql +   nagios +   network +   optimize +   parse +   pdf +   perl +   php +   player +   plugin +   preload +   radios +   remote +   report +   reservation +   ressources +   rotation +   rsync +   secure +   seo +   server +   serveur +   setup +   shell +   sifr +   site +   social +   spam +   ssh +   standard +   statistics +   streaming +   ticket +   tools +   ubuntu +   upload +   w3c +   web +   webdev +   wiki +   wordpress +   xen +   xhtml +   zoom +