seff <job_id>qacct -j <job_id>To extract key efficiency metrics:
qacct -j 2377830 | grep -E 'cpu|mem|maxvmem|ru_wallclock|exit_status'Formatted summary:
echo "Job Efficiency for 2377830:"
qacct -j 2377830 | awk '/ru_wallclock/ {print "Wall Time: " $2 " sec"}
/cpu/ {print "CPU Time: " $2 " sec"}
/mem/ {print "Memory Used: " $2 " GB"}
/maxvmem/ {print "Max Virtual Memory: " $2 " GB"}
/exit_status/ {print "Exit Status: " $2}'sacct -u <user>qacct -o <username>To see the last 10 completed jobs:
qacct -o dlebaue1 | tail -n 10To filter specific job IDs:
qacct -j 2377830squeueqstatFor a specific user:
qstat -u dlebaue1To get detailed resource usage:
qstat -j 2377830sstat -j <job_id>qstat -j <job_id>To monitor live resource usage, SSH into the compute node:
ssh scc-dd2.scc.bu.edu
top -u $USER
htop| Slurm Command | SGE/OGS Equivalent | Purpose |
|---|---|---|
seff <job_id> |
qacct -j <job_id> |
Job efficiency report (CPU, memory, wall time) |
sacct -u <user> |
qacct -o <user> |
Job history with resource usage |
squeue |
qstat |
View running jobs |
sstat -j <job_id> |
qstat -j <job_id> |
Check real-time job resource usage |
sinfo |
qhost |
Show available nodes and load |