Skip to content

Commit 3462a1d

Browse files
committed
output more resource estimates in jobutils
1 parent 116b5c3 commit 3462a1d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Utilities/Tools/jobutils2.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ taskwrapper() {
206206
fi
207207

208208
# with or without memory monitoring ?
209-
finalcommand="TIME=\"#walltime %e\\n#systime %S\\n#usertime %U\" ${TIMECOMMAND} ./${SCRIPTNAME}"
209+
finalcommand="TIME=\"#walltime %e\\n#systime %S\\n#usertime %U\\n#maxmem %M\\n#CPU %P\" ${TIMECOMMAND} ./${SCRIPTNAME}"
210210
if [[ "$(uname)" != "Darwin" && "${JOBUTILS_MONITORMEM}" ]]; then
211-
finalcommand="TIME=\"#walltime %e\\n#systime %S\\n#usertime %U\" ${O2_ROOT}/share/scripts/monitor-mem.sh ${TIMECOMMAND} './${SCRIPTNAME}'"
211+
finalcommand="TIME=\"#walltime %e\\n#systime %S\\n#usertime %U\\n#maxmem %M\\n#CPU %P\" ${O2_ROOT}/share/scripts/monitor-mem.sh ${TIMECOMMAND} './${SCRIPTNAME}'"
212212
fi
213213
echo "Running: ${finalcommand}" > ${logfile}
214214

0 commit comments

Comments
 (0)