public marks

PUBLIC MARKS with tags tools & shell

2010

2009

2008

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

by camel (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.

Tentakel to execute commands on multiple Linux or UNIX Servers

by camel
Many times, you want to execute a command not only on one server, but also on several servers. For example, find out * Version of kernel * Version of Apache web server * Update static html or images files on all web servers via rsync * Find out user information, server information, memory usage etc * Security/patch checking tentakel I have already covered how to execute commands on multiple Linux or UNIX servers via shell script. The disadvantage of script is commands do not run in parallel on all servers. However, several tools exist to automate this procedure in parallel. With the help of tool called tentakel, you run distributed command execution. It is a program for executing the same command on many hosts in parallel using ssh (it supports other methods too). Main advantage is you can create several sets of servers according requirements. For example webserver group, mail server group, home servers group etc. The command is executed in parallel on all servers in this group (time saving). By default, every result is printed to stdout (screen). The output format can be defined for each group.

Linux.com :: CLI Magic: Linux troubleshooting tools 101

by springnet
When something goes wrong with your Linux-based system, you can try to diagnose it yourself with the many troubleshooting tools bundled with the operating system. Knowing about these tools, and how to effectively use them, can help you overcome many of th

2007

2006

2005

Sed - An Introduction and Tutorial

by flubba & 8 others
How to use sed, a special editor for modifying files automatically. If you want to write a program to make changes in a file, sed is the tool to use.

2004

PUBLIC TAGS related to tag tools

account +   agenda +   blogger +   delicious +   download +   email +   free +   gmail +   google +   googlevideo +   howto +   internet +   picasa +   video +   websites +  

Active users

Jeremy B.
last mark : 10/03/2010 21:27

piouPiouM
last mark : 09/07/2009 14:52

camel
last mark : 02/11/2008 23:16

springnet
last mark : 03/02/2008 21:08

ionial
last mark : 15/01/2007 22:41

adrpater
last mark : 14/12/2006 21:24

plasticdreams
last mark : 17/10/2006 03:09

jsquared71
last mark : 28/08/2006 17:48

ponsfrilus
last mark : 07/08/2006 12:42

flubba
last mark : 01/12/2005 08:03

talou
last mark : 14/05/2005 10:16