Job management

The High-Performance Computing Center of the Institute for Cyber-Enabled Research collected information on

Monitor group member jobs

Below script will print jobs of all members of group $GROUP

#!/bin/bash

GROUP=CMM
TMP=$(getent group $GROUP)
TMP="${TMP%.?}"
MEMBERS="${TMP#*2250:}"
members=$(echo $MEMBERS | tr "," "\n")

for me in $members
do
echo "|==>$me<==|"
qstat -u $me
echo
done

Advertisements