From e5a85c341fa4683de87cf02fe64b5dd7e09117a4 Mon Sep 17 00:00:00 2001
From: Jonathon Lynn Duerig <duerig@flux.utah.edu>
Date: Mon, 17 Sep 2007 22:24:03 +0000
Subject: [PATCH] Quick script for Kevin. Runs gather-dest.pl on every node
 (later will run Pramod's UDP stuff).

---
 pelab/bw-bottleneck/get-all-bw.pl | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 pelab/bw-bottleneck/get-all-bw.pl

diff --git a/pelab/bw-bottleneck/get-all-bw.pl b/pelab/bw-bottleneck/get-all-bw.pl
new file mode 100644
index 0000000000..d97293e3f3
--- /dev/null
+++ b/pelab/bw-bottleneck/get-all-bw.pl
@@ -0,0 +1,16 @@
+#!/usr/bin/perl
+
+if ($ARGV != 4)
+{
+    die("Usage: get-all-bw.pl <pid> <eid> <node-count> <duration>");
+}
+
+$pid = $ARGV[0];
+$eid = $ARGV[1];
+$nodeCount = $ARGV[2];
+$duration = $ARGV[3];
+
+for ($i = 1; $i <= $nodeCount; ++$i)
+{
+    system("perl gather-dest.pl $pid $eid $nodeCount $i $duration");
+}
-- 
GitLab