# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://esciencecu-twiki.sc.chula.ac.th/slurm/slurm-basic-slurm-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
