Monitoring if job is running

-I tried to monitor my job: but I could not find the job ID in the slurm output: how could I change my .sh so this info is saved somewhere along with the name of the matlab file running please ? Many thanks

-I would also like to know which jobs are still running, I looked into the webpage and i found some code to monitor my personal queue /pending statue, but not about the running jobs. I tried something like: squeue -u $user -t RUNNING: but unsuccessfully. any idea please ? Many thanks again for your help!

Dear @Raphael.Guex

Please show your sbatch script.

Did you typed: squeue -u guexr -t RUNNING it should work.