Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /job_submission_slurm/scripts/analyze_seff_array.sh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 #!/bin/bash
0002 
0003 # Usage:
0004 # cat << EOF | xargs -o scripts/analyze_seff_array.sh | grep 'Job Wall-clock time' | cut -d: -f2-
0005 # cat << EOF | xargs -o scripts/analyze_seff_array.sh | grep 'Average Memory Utilized' | cut -d: -f2-
0006 # cat << EOF | xargs -o scripts/analyze_seff_array.sh | grep "CPU Efficiency" | cut -d: -f2 | awk '{print$1}'
0007 # cat << EOF | while read jobid ; do
0008 #  echo "$jobid
0009 #        $(scripts/analyze_seff_array.sh $jobid 2> /dev/null | grep "CPU Efficiency" | cut -d: -f2 | awk '{print$1}')
0010 #        $(scripts/analyze_seff_array.sh $jobid 2> /dev/null | grep 'Average Memory Utilized' | cut -d: -f2-)
0011 #        $(scripts/analyze_seff_array.sh $jobid 2> /dev/null | grep 'Job Wall-clock time' | cut -d: -f2-)" ;
0012 # done
0013 
0014 while [ $# -ge 1 ] ; do
0015   seff-array ${1}
0016   shift
0017 done