There was an error while loading. Please reload this page.
1 parent 116b5c3 commit 3462a1dCopy full SHA for 3462a1d
1 file changed
Utilities/Tools/jobutils2.sh
@@ -206,9 +206,9 @@ taskwrapper() {
206
fi
207
208
# with or without memory monitoring ?
209
- finalcommand="TIME=\"#walltime %e\\n#systime %S\\n#usertime %U\" ${TIMECOMMAND} ./${SCRIPTNAME}"
+ finalcommand="TIME=\"#walltime %e\\n#systime %S\\n#usertime %U\\n#maxmem %M\\n#CPU %P\" ${TIMECOMMAND} ./${SCRIPTNAME}"
210
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}'"
+ 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}'"
212
213
echo "Running: ${finalcommand}" > ${logfile}
214
0 commit comments