source: trunk/locker/bin/for-each-server @ 1280

Last change on this file since 1280 was 1280, checked in by geofft, 13 years ago
Little script to ssh to each active LVS realserver in turn
  • Property svn:executable set to *
File size: 141 bytes
Line 
1#!/bin/sh
2for server in `finger @scripts.mit.edu | tail -n +5 | sed -n "s/  -> \([^:]*\):.*/\1/p" | sort -u`; do
3    ssh "$server" "$@"
4done
Note: See TracBrowser for help on using the repository browser.