From 300a596a96ec843bd0a325bd27f77236e95f6f9f Mon Sep 17 00:00:00 2001 From: Saravanabalagi Ramachandran Date: Wed, 1 Apr 2020 13:39:28 +0100 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 6e4fd19..6015ac0 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,9 @@ Note: If we directly use `echo "Node $SLURM_NODEID here: $(hostname)"` in the sb ``` scontrol show job -d {{SLURM_JOB_ID}} + +# if you run only one job, then you could do, or see the details of first job then +# scontrol show job -d $(squeue -u $(whoami) | awk 'NR>1 {print $1}') ``` ``` UserId=USER(UID) GroupId=GROUP(GID) MCS_label=N/A