Re: screen script

Bruno Cudini <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.