On Sat, Aug 30, 2014 at 12:22 PM, Ole Tange <ta...@gnu.org> 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: @group/sshlogin @group+group/sshlogin Example: @web/www1 @web/webuser@www2 @web+db/www3 @db/db1.example.com 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/db1.example.com 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. /Ole