Skip to content

Commit

Permalink
Updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesletts committed May 1, 2014
1 parent df68861 commit 0b601ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions condor_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ getClassAds() {
#
# Called from condor_history_dump

POOLNAME=$1 ; shift
SCHEDDNAME=$1 ; shift
POOLNAME=$1 ; shift
SCHEDDNAME=$1 ; shift
MACHINENAME=$1 ; shift

# It is convenient to have JobStatus first to distinguish
# it from LastJobStatus.
command="$@ \
-const '(CurrentTime-EnteredCurrentStatus<86400)' \
-format 'JobStatus=%i\ ' JobStatus \
-format 'LastJobStatus=%i\ ' LastJobStatus \
-format 'ExitCode=%i\ ' ExitCode \
Expand Down Expand Up @@ -108,7 +109,8 @@ condor_history_dump() {
for SCHEDD in $SCHEDDS ; do
SCHEDDNAME=` echo $SCHEDD | awk -F\, '{print $1}'`
MACHINENAME=`echo $SCHEDD | awk -F\, '{print $2}'`
getClassAds $POOLNAME $SCHEDDNAME $MACHINENAME "condor_history -const '(CurrentTime-EnteredCurrentStatus<86400)'"
#getClassAds $POOLNAME $SCHEDDNAME $MACHINENAME "condor_history -const '(CurrentTime-EnteredCurrentStatus<86400)'"
getClassAds $POOLNAME $SCHEDDNAME $MACHINENAME "condor_history"
getClassAds $POOLNAME $SCHEDDNAME $MACHINENAME "condor_q"
done
return 0
Expand Down
2 changes: 1 addition & 1 deletion condor_history_analyze.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ END {
' | grep ^T | sort


$glideinWMSMonitor_RELEASE_DIR/debug.sh
#doesnt work $glideinWMSMonitor_RELEASE_DIR/debug.sh

#echo
#echo
Expand Down

0 comments on commit 0b601ba

Please sign in to comment.