parallel
[Top][All Lists]
Advanced

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

Host groups


From: Ole Tange
Subject: Host groups
Date: Sat, 30 Aug 2014 12:22:15 +0200

I have had people ask for hostgroups, so you could do:

    parallel --nonall -S @webservers uptime

or similar.

I am considering how that could be implemented. Maybe introduce
~/.parallel/groups:

    @group sshlogin1 sep sshlogin2 sep sshlogin3

sep should be a separator, that will never be in an sshlogin - maybe ;

Maybe it should be possible to do:

    parallel --nonall -S @*.example.com uptime

which would run uptime on all servers matching .example.com listed in
the default sshloginfile.

Maybe there are already tools that have the group concept with a
syntax that would easy to use?

If it was done, how would you like to see it done?


/Ole



reply via email to

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