diff --git a/bashrc b/bashrc new file mode 100644 index 0000000..796aec0 --- /dev/null +++ b/bashrc @@ -0,0 +1,13 @@ +#!/bin/bash + +# Discover the directory where the software sits: +RELEASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +# source the functions to discover SiteDB, HTCondor and CMS +# Dashboard information +source $RELEASE_DIR/sitedb_functions.sh +source $RELEASE_DIR/condor_functions.sh +source $RELEASE_DIR/dashboard_functions.sh + +# set X509_USER_PROXY to be your valid CMS grid proxy: +export X509_USER_PROXY=/tmp/x509up_u500 diff --git a/condor_history_analyze.sh b/condor_history_analyze.sh index e41077b..a18486b 100644 --- a/condor_history_analyze.sh +++ b/condor_history_analyze.sh @@ -14,6 +14,8 @@ NOW=`ls -l --time-style=+%s $FILE | awk '{print $6}'` echo echo "SCHEDDS CONSIDERED IN THE HISTORY:" +/bin/date -u +/bin/date echo echo " Jobs Schedd" cat $FILE | grep -o GlobalJobId=.* | awk -F\= '{print $2}' | awk -F\# '{print $1}' | sort | uniq -c