Skillnad mellan versioner av "PSSH"

Från wiki.soltec.se
Hoppa till: navigering, sök
(Skapade sidan med ''''PSSH'''<br/> pssh is a program for executing ssh in parallel on a number of hosts.<br/> It provides features such as sending input to all of the processes, passing a passwo...')
 
Rad 10: Rad 10:
  
 
To display STDOUT & STDERR when completing
 
To display STDOUT & STDERR when completing
: # pssh -i -h host-list.txt -t3 -p5 -o ./pssh-pass -e ./pssh-fail "cat /etc/redhat-release"
+
# pssh -i -h host-list.txt -t3 -p5 -o ./pssh-pass -e ./pssh-fail "cat /etc/redhat-release"
 
No STDOUT/ERR  
 
No STDOUT/ERR  
: # pssh -h host-list.txt -t3 -p5 -o ./pssh-pass -e ./pssh-fail "cat /etc/redhat-release"
+
# pssh -h host-list.txt -t3 -p5 -o ./pssh-pass -e ./pssh-fail "cat /etc/redhat-release"

Versionen från 4 februari 2017 kl. 23.45

PSSH
pssh is a program for executing ssh in parallel on a number of hosts.
It provides features such as sending input to all of the processes, passing a password to ssh, saving output to files, and timing out.

If it's not available in your repo then download from sourceforge

  • pssh - is a program for executing ssh in parallel on a number of hosts.
  • pnuke — is a program for killing processes in parallel on a number of hosts.
  • pslurp - is a program for copying files in parallel from a number of hosts.
  • prsync - is a program for copying files in parallel to a number of hosts.

To display STDOUT & STDERR when completing

# pssh -i -h host-list.txt -t3 -p5 -o ./pssh-pass -e ./pssh-fail "cat /etc/redhat-release"

No STDOUT/ERR

# pssh -h host-list.txt -t3 -p5 -o ./pssh-pass -e ./pssh-fail "cat /etc/redhat-release"