From 78254251e45751a95a004577bdba30ffeecc301e Mon Sep 17 00:00:00 2001
From: david_williams <david_williams>
Date: Tue, 9 Dec 2008 20:30:22 +0000
Subject: [PATCH] misc minor improvements and scripts

---
 releng.control/ant_low_priority.sh                       | 4 ++--
 releng.control/ant_med_priority.sh                       | 4 ++--
 releng.control/miscSampleScripts/summarizeRequestLogs.sh | 3 +++
 3 files changed, 7 insertions(+), 4 deletions(-)
 create mode 100644 releng.control/miscSampleScripts/summarizeRequestLogs.sh

diff --git a/releng.control/ant_low_priority.sh b/releng.control/ant_low_priority.sh
index b8390275c..c683065f3 100644
--- a/releng.control/ant_low_priority.sh
+++ b/releng.control/ant_low_priority.sh
@@ -1,5 +1,5 @@
-#!/bin/sh
-
+#!/usr/bin/env bash
+#
 # remember to leave no slashes on commonVariations in source command,
 # so that users path is used to find it (first). But, path on
 # commonComputedVariables means we expect to execute only our
diff --git a/releng.control/ant_med_priority.sh b/releng.control/ant_med_priority.sh
index 8a112b589..3c5a7015a 100644
--- a/releng.control/ant_med_priority.sh
+++ b/releng.control/ant_med_priority.sh
@@ -1,5 +1,5 @@
-#!/bin/sh
-
+#!/usr/bin/env bash
+#
 # remember to leave no slashes on commonVariations in source command,
 # so that users path is used to find it (first). But, path on
 # commonComputedVariables means we expect to execute only our
diff --git a/releng.control/miscSampleScripts/summarizeRequestLogs.sh b/releng.control/miscSampleScripts/summarizeRequestLogs.sh
new file mode 100644
index 000000000..deec18b1b
--- /dev/null
+++ b/releng.control/miscSampleScripts/summarizeRequestLogs.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+#
+cat /shared/webtools/apps/cruisecontrol-bin-2.8.1/logs.*.request.log | grep \"GET | cut -d" " -f1 | sort | uniq -c | sort -b -g 
-- 
GitLab