복수개의 target에 ssh로 접속해서 동일한 명령어로 실행하는 유틸리티
Some examples of usage follow: Run command on foo01,foo02,...,foo05 pdsh -w foo[01-05] command Run command on foo7,foo9,foo10 pdsh -w foo[7,9-10] command Run command on foo0,foo4,foo5 pdsh -w foo[0-5] -x foo[1-3] command A suffix on the hostname is also supported: Run command on foo0-eth0,foo1-eth0,foo2-eth0,foo3-eth0 pdsh -w foo[0-3]-eth0 command |
[링크 : https://linux.die.net/man/1/pdsh]
[링크 : https://qastack.kr/server/2533/linux-running-the-same-command-on-many-machines-at-once]
'Linux' 카테고리의 다른 글
linux command line에서 mp3 재생하기 (0) | 2020.12.08 |
---|---|
shuf (0) | 2020.12.08 |
bash $$ 변수, 배열, 반복 (0) | 2020.12.04 |
bash 배열 (0) | 2020.12.04 |
find -mmin (0) | 2020.12.04 |