|Subject:||Re: screen script|
|Date:||Fri, 16 Nov 2012 13:28:42 -0700|
What about scripting the .screenrc processing, or launching them
On Fri, Nov 16, 2012 at 11:28:32AM -0700, Nick Atzert wrote:
> I've considered doing it that way but the list of servers is constantly
> changing. I help maintain about 20,000 machines globally. It will never be
> the same list.
dynamically ? From within screen, you can spawn a new session, with the
same command suggested by Alan Young :
for SERVER in `cat servers.list`
screen -t "$SERVER" 0 /bin/bash -c "whatever you want on $SERVER"
By the way, I'm not sure screen is the most convenient/effective way to
launch 20k scripts simultaneously.
|[Prev in Thread]||Current Thread||[Next in Thread]|