Skip to content

Commit

Permalink
Added source file bashrc to set up everything
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesletts committed Apr 29, 2014
1 parent c39e21c commit cc33d38
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bashrc
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions condor_history_analyze.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc33d38

Please sign in to comment.