parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is the best syntax for running a script on multiple machines with d


From: Peng Yu
Subject: What is the best syntax for running a script on multiple machines with different arguments?
Date: Tue, 28 Nov 2017 11:08:53 -0600

Hi,

I can use the following parallel command to run a script/shell command
on multiple machines with a different arguments.

parallel --hostgroup -S @grp1/machine1 -S @grp2/machine2 echo {} :::
run_on_machine1@grp1 run_on_machine2@grp2

But the syntax is not very natural as I have to define hostgroups,
whose only purpose to is to group one machine per group.

I'd like to directly specify the machines without specifying the
groups. Is it possible? Thanks.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]