> For the complete documentation index, see [llms.txt](https://esciencecu-twiki.sc.chula.ac.th/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://esciencecu-twiki.sc.chula.ac.th/slurm/slurm-basic-slurm-commands.md).

# Basic Slurm commands

* [sacct](https://slurm.schedmd.com/sacct.html): display accounting data for all jobs and job steps in the Slurm database
* [sacctmgr](https://slurm.schedmd.com/sacctmgr.html): display and modify Slurm account information
* [salloc](https://slurm.schedmd.com/salloc.html): request an interactive job allocation
* [sattach](https://slurm.schedmd.com/sattach.html): attach to a running job step
* [sbatch](https://slurm.schedmd.com/sbatch.html): submit a batch script to Slurm
* [scancel](https://slurm.schedmd.com/scancel.html): cancel a job or job step or signal a running job or job step
* [scontrol](https://slurm.schedmd.com/scontrol.html): display (and modify when permitted) the status of Slurm entities.  Entities include:  jobs, job steps, nodes, partitions, reservations, etc.
* [sdiag](https://slurm.schedmd.com/sdiag.html): display scheduling statistics and timing parameters
* [sinfo](https://slurm.schedmd.com/sinfo.html): display node partition (queue) summary information
* [sprio](https://slurm.schedmd.com/sprio.html): display the factors that comprise a job's scheduling priority
* [squeue](https://slurm.schedmd.com/squeue.html): display the jobs in the scheduling queues, one job per line
* [sreport](https://slurm.schedmd.com/sreport.html): generate canned reports from job accounting data and machine utilization statistics
* [srun](https://slurm.schedmd.com/srun.html): launch one or more tasks of an application across requested resources
* [sshare](https://slurm.schedmd.com/sshare.html): display the shares and usage for each charge account and user
* [sstat](https://slurm.schedmd.com/sstat.html): display process statistics of a running job step
* [sview](https://slurm.schedmd.com/sview.html): a graphical tool for displaying jobs, partitions, reservations, and Blue Gene blocks
