How 2 Know
If you can't Google it, You Can Knowing it.

dsh command

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]

[-i ] [-l user_ID] [-L]

[–log log_file] [-m] [-o

node_options] [-O device_options] [-Q]

[-r node_remote_shell] [–device-rsh

device_remote_shell] [-s] [-S

csh | ksh] [-t timeout]

[-T ] [-v] [-X

env_list] [-z ] [–report

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from How 2 Know

Subscribe now to keep reading and get access to the full archive.

Continue reading