dsh Command
-
Purpose
Runs commands concurrently on multiple nodes and hardware devices.
-
Syntax
dsh -h dsh -V dsh -q dsh [ -a] [–all-nodes context_list]
[ -A ] [–all-devices context_list] [-n
node_list] [-N nodegroups] [-d device_list]
[-D devicegroups] [-C context]
[-c] [ -e ] [ -E environment_file
] [-f fanout] [ -F output_path]
node_options] [-O device_options] [-Q]
[-r node_remote_shell] [–device-rsh
csh | ksh] [-t timeout]
report_path] [–report-name report_name] [command_list]
-
Description
The dsh command runs commands concurrently on remote targets – nodes, hardware devices, or both. Targets can be selected from multiple contexts. A context is a target database that contains node and device definitions, such as the NIM database. The dsh command issues a remote shell command for each target specified. It returns output from all targets in a formatted manner to enable the command results from all nodes to be managed easily. The/usr/bin/rsh is the model for syntax and security and the dsh command is a DSM Distributed Shell Utility.
- reference:
http://pic.dhe.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.cmds%2Fdoc%2Faixcmds2%2Fdsh.htm
Leave a Reply