diff --git a/bashrc b/bashrc index c9fffc9..5016aa9 100644 --- a/bashrc +++ b/bashrc @@ -13,6 +13,7 @@ export glideinWMSMonitor_OUTPUT_DIR="/crabprod/CSstoragePath/Monitor" # Discover the directory where the software sits: export glideinWMSMonitor_RELEASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +echo $glideinWMSMonitor_RELEASE_DIR # source the functions to discover SiteDB, HTCondor and CMS Dashboard information source $glideinWMSMonitor_RELEASE_DIR/sitedb_functions.sh diff --git a/condor_check.sh b/condor_check.sh index ec760c3..2ef10a9 100755 --- a/condor_check.sh +++ b/condor_check.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # put a time limit on a command alarm() { perl -e 'alarm shift; exec @ARGV' "$@"; } diff --git a/condor_functions.sh b/condor_functions.sh index 57e3db9..2d8c738 100755 --- a/condor_functions.sh +++ b/condor_functions.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash getClassAds() { # Function to dump a set of ClassAds for queued, running and jobs diff --git a/condor_history_analyze.sh b/condor_history_analyze.sh index 525600f..9d84770 100755 --- a/condor_history_analyze.sh +++ b/condor_history_analyze.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # discover the exit code explantions? # DAG jobs not included in held table. # report CRAB3 vs CRAB2 jobs diff --git a/condor_history_dump.sh b/condor_history_dump.sh index f454edd..00b56d1 100755 --- a/condor_history_dump.sh +++ b/condor_history_dump.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/bin/bash + POOLNAME="glidein-collector-2.t2.ucsd.edu" OUTFILE=$glideinWMSMonitor_OUTPUT_DIR/monitor-anaops-history-`/bin/date +%F-Z%R -u`.txt diff --git a/dashboard_functions.sh b/dashboard_functions.sh index f38e9d1..dab3946 100755 --- a/dashboard_functions.sh +++ b/dashboard_functions.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash site_downtimes_from_ssb() { # get the downtimes from SSB, remove any quotes so the output