Commit ca6453e4 authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

minor bug fix

parent 96114711
......@@ -76,7 +76,7 @@ while read -r line; do
if [ "${proc_vals[pid]}" -eq "-1" ]; then continue; fi;
JOBID=`strings /proc/${proc_vals[pid]}/environ | grep -E (SLURM|LSF)_JOBID= | cut -d= -f2`
JOBID=`strings /proc/${proc_vals[pid]}/environ | grep -E "(SLURM|LSF)_JOBID=" | cut -d= -f2`
cpu_stats=`ps --no-headers -o $cpu_params -p ${proc_vals[pid]}`
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment