[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: screen script
From: |
Bruno Cudini |
Subject: |
Re: screen script |
Date: |
Fri, 16 Nov 2012 21:15:35 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi,
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.
What about scripting the .screenrc processing, or launching them
dynamically ? From within screen, you can spawn a new session, with the
same command suggested by Alan Young :
for SERVER in `cat servers.list`
do
screen -t "$SERVER" 0 /bin/bash -c "whatever you want on $SERVER"
done
By the way, I'm not sure screen is the most convenient/effective way to
launch 20k scripts simultaneously.