Reference:
http://astro.physics.uiowa.edu/~kaaret/2019f_p4905/L17.html
Interested in particle astrophysics and plasma astrophysics. This blog is my research/private notebook.
Slurm is a group utilities used for managing workloads on computer clusters.
Some clusters use Slurm as the batch queuing system and the scheduling mechanism.
Jobs are submitted to Slurm from a login node and Slurm handles scheduling these jobs on nodes.
sinfo -l command displays information about nodes and partitions.
sbatch job.sh submit a job where job.sh is the script you want to run.
scancel jobID cancels a job
squeue -u userID shows state of jobs
An example for job submit script, e.g., job.slurm
Execute script
$ sbatch job.slurm
There are few simple commands which can display who are logged in the Linux.
w
who
users
last
Typing one of these commands in the terminal, it will display the logged in users information.