Commit 8a4a772f authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

minor bug fix

parent aad5db9a
......@@ -78,7 +78,7 @@ while read -r line; do
JOBID=`strings /proc/${proc_vals[pid]}/environ | grep -E "(SLURM|LSF)_JOBID=" | cut -d= -f2`
if [ "$JOBID" == ""]; then JOBID=-1; fi;
if [ "$JOBID" == "" ]; then JOBID=-1; fi;
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