Usefull tools making your life easier

dsh - the distributed/dancer shell

Introduction

The dancer shell is very usefull to run identical commands on the whole cluster, a simple check good be:
dsh -aMF30 "uptime; sleep 1"

Usage

Please refer to the man page man 1 dsh for information on all options, here are just the most useful ones:
-a
Use the prepared system file /etc/dsh/machines.list
-F
Fork that many parallel jobs, don't go too high, 20-30 should be safe
-M
Prepend the machine name before the stdout of the process on the node
-f
specify your own file with one machine name or IP address per line

-- CarstenAulbert - 18 Jun 2008

This topic: ATLAS > WebHome > UsefulItems
Topic revision: 18 Jun 2008, CarstenAulbert
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback