[Top][All Lists]

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

Re: Host groups

From: Ole Tange
Subject: Re: Host groups
Date: Thu, 13 Nov 2014 21:47:44 +0100

On Sat, Aug 30, 2014 at 12:22 PM, Ole Tange <> wrote:
> I have had people ask for hostgroups, so you could do:
>     parallel --nonall -S @webservers uptime
> or similar.

This is now implemented. It works this way:

The sshlogins can now be prepended with hostgroups:




If one of the entries _only_ has a group (i.e. no sshlogin), then this
hosts from this group will used. A host can be in multiple groups.

It can be given on the command line:

  parallel --nonall -S @web -S @web/www1 -S @db/ hostname

but it is more likely that you will have a list of hostsgroups
(similar to the list above) in ~/.parallel/sshloginfile and then you
can do:

  parallel --nonall -S @web -S .. hostname

It would be great if you would read through the manual and see if the
explanation is good enough.


reply via email to

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