* enable screen logging

This commit is contained in:
Jeff Carr 2011-09-26 19:26:37 -04:00
parent cc7155f33b
commit 1e2ab7dc66
3 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,11 @@
DATESTAMP := $(shell date -u +%Y.%m%d.%H%M)
all:
@echo try:
@echo make prep
@echo make screen
local:
mkdir $(DATESTAMP)
inventory/inventory.sh $(DATESTAMP)
cd cpu; make
@ -11,4 +16,7 @@ prep:
cat loadbot/testservers |xargs -n 1 --replace=BLAH ssh BLAH ./prep.pl
screen:
cat loadbot/testservers |xargs -n 1 --replace=BLAH ssh BLAH "screen -d -m -S loadbot /root/benchmarks/doit.sh"
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "screen -d -m -S loadbot -c /root/benchmarks/screenrc"
killall:
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "killall screen"

View File

@ -7,4 +7,3 @@ time ./bc_sin.sh 1000
time ./bc_sin.sh 2000
time ./bc_sin.sh 4000
time ./bc_sin.sh 8000
bash

3
screenrc Normal file
View File

@ -0,0 +1,3 @@
screen -t loadbot 0 /root/benchmarks/doit.sh
logfile "loadbot.%n"
log on